๐Ÿ” CVE Alert

CVE-2026-31978

MEDIUM 6.5

motionEye: Arbitrary File Read via Path Traversal in Picture/Movie Preview Endpoint

CVSS Score
6.5
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-22 CWE-284
Vendor motioneye-project
Product motioneye
Published Jun 24, 2026
Stay Ahead of the Next One

Get instant alerts for motioneye-project motioneye

Be the first to know when new medium vulnerabilities affecting motioneye-project motioneye are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Affected Versions

motioneye-project / motioneye
< 0.44.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/motioneye-project/motioneye/security/advisories/GHSA-g9fx-5r4h-pcw3 github.com: https://github.com/motioneye-project/motioneye/releases/tag/0.44.0