CVE-2026-31978motioneye-project motioneye
Medium 6.5
Follow: this CVE · motioneye-project · motioneye-project motioneye We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- —
- Auth required
- Yes
- Published
- Jun 24, 2026
- Updated
- Oct 25, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for motioneye.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | motioneye |
< 0.44.0 |
0.44.0 |
pip install "motioneye>=0.44.0" |
| PyPI | motioneye |
< 0.44.0 |
0.44.0 |
pip install "motioneye>=0.44.0" |
Per OSV / GitHub Advisories (GHSA-g9fx-5r4h-pcw3, PYSEC-2026-2664). Check the version in your lockfile before upgrading.
Affected products
- motioneye-project · motioneye
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.