CVE-2026-31978
Last modified
CVE-2026-31978 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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}. EPSS estimates a 0.42% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-31978?
How severe is CVE-2026-31978?
How do I fix CVE-2026-31978?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-31971HTSlib is a library for reading and writing bioinformatics f…8.1
- CVE-2026-31972SAMtools is a program for reading, manipulating and writing …9.8
- CVE-2026-31973SAMtools is a program for reading, manipulating and writing …7.5
- CVE-2026-31974OpenProject is an open-source, web-based project management …4.3
- CVE-2026-31975Cloud CLI (aka Claude Code UI) is a desktop and mobile UI fo…9.8
- CVE-2026-31976xygeni-action is the GitHub Action for Xygeni Scanner. On Ma…9.8
- CVE-2026-31979Himmelblau is an interoperability suite for Microsoft Azure …7.8
- CVE-2026-3198MLflow 3.9.0 with basic-auth (`--app-name basic-auth`) fails…6.5
- CVE-2026-31981A Stored HTML Injection vulnerability was discovered in the …4.8
- CVE-2026-31982An Open Redirect vulnerability was discovered in the SAML Si…7.1
- CVE-2026-31983A Missing Authentication vulnerability was discovered in the…6.9
- CVE-2026-31984A denial-of-service vulnerability caused by unbounded resour…8.7
Are you affected by CVE-2026-31978?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
