Skip to main content

motionEye CVE-2026-55488

| EUVDEUVD-2026-38804 HIGH
Path Traversal (CWE-22)
2026-06-23 https://github.com/motioneye-project/motioneye GHSA-rw9q-97r9-8gvh
7.7
CVSS 4.0 · Vendor: https://github.com/motioneye-project/motioneye
Share

Severity by source

Vendor (https://github.com/motioneye-project/motioneye) PRIMARY
7.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
7.5 HIGH

A single unauthenticated HTTP request reads arbitrary files (AV:N/AC:L/PR:N/UI:N) for high confidentiality loss with no integrity or availability impact; PR:N follows the credential-less PoC though auth-enabled deployments would be PR:L.

3.1 AV:N/AC:L/PR:N/UI:N/S:N/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/motioneye-project/motioneye).

CVSS VectorVendor: https://github.com/motioneye-project/motioneye

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

6
Analysis Updated
Jun 24, 2026 - 16:28 vuln.today
v3 (cvss_changed)
Analysis Updated
Jun 24, 2026 - 16:28 vuln.today
v2 (cvss_changed)
Re-analysis Queued
Jun 24, 2026 - 16:22 vuln.today
cvss_changed
CVSS changed
Jun 24, 2026 - 16:22 NVD
7.7 (HIGH)
Source Code Evidence Fetched
Jun 23, 2026 - 19:01 vuln.today
Analysis Generated
Jun 23, 2026 - 19:01 vuln.today

DescriptionCVE.org

Summary

mEye contains an absolute path traversal vulnerability in multiple media file handlers that allows an attacker to read arbitrary files from the filesystem.

The affected handlers accept a user-controlled filename parameter and construct filesystem paths using os.path.join(). When an absolute path is supplied, Python discards the configured media directory and returns the attacker-supplied path directly. The application then bypasses Tornado's built-in path validation by overriding the relevant safety checks.

As a result, an attacker can access files outside of the configured camera media directory, subject to the permissions of the motionEye process.

Details

The issue exists in the media playback and download functionality.

The filename parameter is passed to mediafiles.get_media_path():

python
def get_media_path(camera_config, path, media_type):
    target_dir = camera_config.get('target_dir')
    full_path = os.path.join(target_dir, path)
    return full_path

When path is an absolute path (e.g. /etc/motioneye/motion.conf), Python's os.path.join() discards target_dir entirely and returns the absolute path as-is. This would normally be caught by Tornado's StaticFileHandler path validation, but MoviePlaybackHandler explicitly overrides both safety checks (movie_playback.py lines 111-115):

def get_absolute_path(self, root, path):
    return path

def validate_absolute_path(self, root, absolute_path):
    return absolute_path

This allows reading any file on the filesystem that the motionEye process can access.

The same path traversal exists in the movie download, picture download, and picture preview handlers:

  • GET /movie/<camera_id>/download/<filename>
  • GET /picture/<camera_id>/download/<filename>
  • GET /picture/<camera_id>/preview/<filename>

PoC

GET /movie/1/playback//etc/motioneye/motion.conf HTTP/1.1
Host: target:8765

Fix

Do not allow absolute paths supplied by user input.

Validate that the fully resolved canonical path remains within the configured camera media directory before serving a file.

Additionally, Tornado’s built-in path validation should not be bypassed unless equivalent validation is performed by motionEye.

AnalysisAI

Arbitrary file read in motionEye versions before 0.44.0 lets remote attackers retrieve any file readable by the motionEye process by supplying an absolute path to the media playback, download, and preview handlers. The flaw stems from os.path.join() discarding the configured media directory when given an absolute path, compounded by MoviePlaybackHandler deliberately overriding Tornado's StaticFileHandler path-safety checks. A proof-of-concept exists and the CVSS 4.0 exploit-maturity is rated Proof-of-Concept, but there is no public evidence of active exploitation.

Technical ContextAI

motionEye is a Python web frontend (built on the Tornado web framework) for the 'motion' surveillance daemon, distributed via PyPI as the 'motioneye' package (pkg:pip/motioneye). The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory / path traversal), specifically the absolute-path-traversal variant: mediafiles.get_media_path() builds a path with os.path.join(target_dir, path), and Python's os.path.join() semantics cause an absolute 'path' argument to override and discard 'target_dir' entirely. Tornado's StaticFileHandler normally rejects such paths in validate_absolute_path()/get_absolute_path(), but motionEye's MoviePlaybackHandler overrides both methods to return the user-supplied path unchecked (movie_playback.py lines 111-115), defeating the framework's built-in containment.

RemediationAI

Vendor-released patch: upgrade motionEye to 0.44.0 or later (pip install --upgrade motioneye), which is the fixed release per the GHSA advisory at https://github.com/motioneye-project/motioneye/security/advisories/GHSA-rw9q-97r9-8gvh. If you cannot upgrade immediately, place the motionEye web interface (default TCP 8765) behind a reverse proxy or firewall so only trusted, authenticated clients can reach the /movie/ and /picture/ endpoints, and ensure motionEye's admin and normal-user passwords are set so the handlers are not anonymously reachable - note this does not remove the traversal for authenticated users. As stronger containment, run the motionEye process under a dedicated low-privilege account whose filesystem access is confined to its media/target directories so a successful traversal cannot read sensitive files such as /etc/motioneye/motion.conf, accepting that overly tight permissions may break legitimate media playback.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

Share

CVE-2026-55488 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy