{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-31978","published":"2026-06-24T21:16:53.043000Z","last_modified":"2026-10-25T22:10:00.150000Z","status":"Deferred","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-22","CWE-284"],"cpes":[],"cpes_truncated":false,"vendors":["motioneye-project"],"products":["motioneye-project/motioneye"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-g9fx-5r4h-pcw3","ecosystem":"PyPI","name":"motioneye","purl":"pkg:pypi/motioneye","ranges":[{"introduced":"0","fixed":"0.44.0"}],"versions":["0.27","0.27.1","0.27.2","0.28","0.28.1","0.28.2","0.28.3","0.29","0.29.1","0.29rc1","0.29rc2","0.30","0.30rc1","0.30rc2","0.31","0.31.1","0.31.2","0.31.3","0.31.4","0.31.5","0.32","0.32.1","0.32.2","0.33","0.33.1","0.33.2","0.33.3","0.33.4","0.34","0.34.1","0.34rc1","0.35","0.35.1","0.35.2","0.35rc1","0.36","0.36.1","0.37","0.37.1","0.37rc1","0.38","0.38.1","0.39","0.39.1","0.39.2","0.39.3","0.40","0.40rc1","0.40rc2","0.40rc3","0.40rc4","0.40rc5","0.41","0.41rc1","0.42","0.42.1","0.43.1","0.43.1b1","0.43.1b2","0.43.1b3","0.43.1b4","0.43.1b5","0.44.0b1","0.44.0b2","0.44.0b3"],"versions_truncated":false},{"advisory":"PYSEC-2026-2664","ecosystem":"PyPI","name":"motioneye","purl":"pkg:pypi/motioneye","ranges":[{"introduced":"0","fixed":"0.44.0"}],"versions":["0.27","0.27.1","0.27.2","0.28","0.28.1","0.28.2","0.28.3","0.29","0.29.1","0.29rc1","0.29rc2","0.30","0.30rc1","0.30rc2","0.31","0.31.1","0.31.2","0.31.3","0.31.4","0.31.5","0.32","0.32.1","0.32.2","0.33","0.33.1","0.33.2","0.33.3","0.33.4","0.34","0.34.1","0.34rc1","0.35","0.35.1","0.35.2","0.35rc1","0.36","0.36.1","0.37","0.37.1","0.37rc1","0.38","0.38.1","0.39","0.39.1","0.39.2","0.39.3","0.40","0.40rc1","0.40rc2","0.40rc3","0.40rc4","0.40rc5","0.41","0.41rc1","0.42","0.42.1","0.43.1","0.43.1b1","0.43.1b2","0.43.1b3","0.43.1b4","0.43.1b5","0.44.0b1","0.44.0b2","0.44.0b3"],"versions_truncated":false}],"severity":"medium","priority_score":39,"links":{"html_es":"/es/cve/CVE-2026-31978/","html_en":"/en/cve/CVE-2026-31978/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-31978","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-31978"},"untrusted":{"vendor_name":"motioneye-project","product_name":"motioneye","desc_en":"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":[{"untrusted_vendor":"motioneye-project","untrusted_product":"motioneye","versions":[]}],"references":[{"url":"https://github.com/motioneye-project/motioneye/releases/tag/0.44.0","tags":[]},{"url":"https://github.com/motioneye-project/motioneye/security/advisories/GHSA-g9fx-5r4h-pcw3","tags":[]}]}}