CVE-2026-31978
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.
- Affected products
- Motioneye
- CVSS 3.1
- 6.5 MEDIUM
- EPSS
- 0.4% (35th percentile)
- Weakness
- CWE-22, CWE-284
- NVD status
- Deferred
- Published
- 2026-06-24
No indexed exploits for CVE-2026-31978 yet
Our index is partial: it proves presence, never absence
No exploit for CVE-2026-31978 has been indexed yet. Our index is built from live traffic and upstream syncs, so this page can only say what it knows — not that no exploit exists.