Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-31978: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in motioneye-project motioneye

0
Medium
VulnerabilityCVE-2026-31978cvecve-2026-31978cwe-22cwe-284
Published: 06/24/2026 (06/24/2026, 20:28:24 UTC)
Source: CVE Database V5
Vendor/Project: motioneye-project
Product: motioneye

Description

motionEye versions prior to 0.44.0 contain a path traversal vulnerability in certain API endpoints that handle picture and movie files. This flaw allows authenticated users with normal privileges to read arbitrary files on the filesystem accessible to the motionEye process user. The vulnerability arises because the filename parameter is not properly sanitized to prevent directory traversal sequences such as '..'. This issue has been fixed in version 0.44.0.

CVSS v3.1

Score 6.5medium

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

Affected software

GitHub Actionsmore threats →ai
motioneye-project/motioneye
pkg:github/motioneye-project/motioneye
Affected versions
<0.44.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/24/2026, 21:47:15 UTC

Technical Analysis

CVE-2026-31978 is a path traversal vulnerability (CWE-22) in motionEye, an online interface for motion detection software. Versions before 0.44.0 do not properly validate the filename parameter in API endpoints like /picture/{id}/preview/{filename}, allowing authenticated non-admin users to read arbitrary files on the server. The vulnerability exists because functions such as get_media_preview() fail to check for directory traversal sequences, enabling access to sensitive files including system files and other users' surveillance footage. The issue was resolved in version 0.44.0.

Potential Impact

An authenticated user with normal privileges can exploit this vulnerability to read arbitrary files on the server filesystem as the motionEye process user. This can lead to disclosure of sensitive information such as system password files (/etc/passwd, /etc/shadow), motionEye configuration files containing password hashes and plaintext passwords, SSH keys, and surveillance footage from other cameras. There is no impact on integrity or availability reported.

Mitigation Recommendations

Upgrade motionEye to version 0.44.0 or later, where this path traversal vulnerability has been fixed. Until the upgrade is applied, restrict access to the affected API endpoints to trusted users only. Patch status is confirmed fixed in 0.44.0.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-10T15:40:10.487Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a3c4ce14853345fc1df8cdd

Added to database: 06/24/2026, 21:32:17 UTC

Last enriched: 06/24/2026, 21:47:15 UTC

Last updated: 06/24/2026, 22:47:08 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses