Skip to content

CVE-2026-31978 motionEye: Arbitrary File Read via Path Traversal in Picture/Movie Preview Endpoint

MediumCVSS 6.5 EPSS 0.34%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

Description

motionEye (mEye) is an online interface for motion software, which is a video surveillance program with motion detection. Versions prior to 0.44.0 are vulnerable to path traversal in the picture and movie API endpoints, suhc as /picture/{id}/preview/{filename}. Neither the API handlers, nor the mediafiles.py functions such as get_media_preview() check for .. sequences in the filename parameter, except for get_media_content(). This allows an authenticated user with normal (non-admin) privileges to read arbitrary files from the filesystem as the motionEye process user, such as: /etc/passwd, /etc/shadow, motionEye config files containing password hashes and plaintext passwords, SSH keys, and other cameras' surveillance footage. This issue has been fixed in version 0.44.0.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
pypi motioneye(PyPI) < 0.44.0; = 0.27; = 0.27.1; = 0.27.2 +62 more 0.44.0 Fixed
motioneye-project motioneye = < 0.44.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi motioneye(PyPI) < 0.44.0 0.44.0
pypi motioneye(PyPI) = 0.27 No fix listed
pypi motioneye(PyPI) = 0.27.1 No fix listed
pypi motioneye(PyPI) = 0.27.2 No fix listed
pypi motioneye(PyPI) = 0.28 No fix listed
pypi motioneye(PyPI) = 0.28.1 No fix listed
pypi motioneye(PyPI) = 0.28.2 No fix listed
pypi motioneye(PyPI) = 0.28.3 No fix listed
pypi motioneye(PyPI) = 0.29 No fix listed
pypi motioneye(PyPI) = 0.29.1 No fix listed
pypi motioneye(PyPI) = 0.29rc1 No fix listed
pypi motioneye(PyPI) = 0.29rc2 No fix listed
pypi motioneye(PyPI) = 0.30 No fix listed
pypi motioneye(PyPI) = 0.30rc1 No fix listed
pypi motioneye(PyPI) = 0.30rc2 No fix listed
pypi motioneye(PyPI) = 0.31 No fix listed
pypi motioneye(PyPI) = 0.31.1 No fix listed
pypi motioneye(PyPI) = 0.31.2 No fix listed
pypi motioneye(PyPI) = 0.31.3 No fix listed
pypi motioneye(PyPI) = 0.31.4 No fix listed
pypi motioneye(PyPI) = 0.31.5 No fix listed
pypi motioneye(PyPI) = 0.32 No fix listed
pypi motioneye(PyPI) = 0.32.1 No fix listed
pypi motioneye(PyPI) = 0.32.2 No fix listed
pypi motioneye(PyPI) = 0.33 No fix listed
Show 42 more
ProductAffected versionsFixed in
pypi motioneye(PyPI) = 0.33.1 No fix listed
pypi motioneye(PyPI) = 0.33.2 No fix listed
pypi motioneye(PyPI) = 0.33.3 No fix listed
pypi motioneye(PyPI) = 0.33.4 No fix listed
pypi motioneye(PyPI) = 0.34 No fix listed
pypi motioneye(PyPI) = 0.34.1 No fix listed
pypi motioneye(PyPI) = 0.34rc1 No fix listed
pypi motioneye(PyPI) = 0.35 No fix listed
pypi motioneye(PyPI) = 0.35.1 No fix listed
pypi motioneye(PyPI) = 0.35.2 No fix listed
pypi motioneye(PyPI) = 0.35rc1 No fix listed
pypi motioneye(PyPI) = 0.36 No fix listed
pypi motioneye(PyPI) = 0.36.1 No fix listed
pypi motioneye(PyPI) = 0.37 No fix listed
pypi motioneye(PyPI) = 0.37.1 No fix listed
pypi motioneye(PyPI) = 0.37rc1 No fix listed
pypi motioneye(PyPI) = 0.38 No fix listed
pypi motioneye(PyPI) = 0.38.1 No fix listed
pypi motioneye(PyPI) = 0.39 No fix listed
pypi motioneye(PyPI) = 0.39.1 No fix listed
pypi motioneye(PyPI) = 0.39.2 No fix listed
pypi motioneye(PyPI) = 0.39.3 No fix listed
pypi motioneye(PyPI) = 0.40 No fix listed
pypi motioneye(PyPI) = 0.40rc1 No fix listed
pypi motioneye(PyPI) = 0.40rc2 No fix listed
pypi motioneye(PyPI) = 0.40rc3 No fix listed
pypi motioneye(PyPI) = 0.40rc4 No fix listed
pypi motioneye(PyPI) = 0.40rc5 No fix listed
pypi motioneye(PyPI) = 0.41 No fix listed
pypi motioneye(PyPI) = 0.41rc1 No fix listed
pypi motioneye(PyPI) = 0.42 No fix listed
pypi motioneye(PyPI) = 0.42.1 No fix listed
pypi motioneye(PyPI) = 0.43.1 No fix listed
pypi motioneye(PyPI) = 0.43.1b1 No fix listed
pypi motioneye(PyPI) = 0.43.1b2 No fix listed
pypi motioneye(PyPI) = 0.43.1b3 No fix listed
pypi motioneye(PyPI) = 0.43.1b4 No fix listed
pypi motioneye(PyPI) = 0.43.1b5 No fix listed
pypi motioneye(PyPI) = 0.44.0b1 No fix listed
pypi motioneye(PyPI) = 0.44.0b2 No fix listed
pypi motioneye(PyPI) = 0.44.0b3 No fix listed
motioneye-project motioneye = < 0.44.0 No fix listed

References