Vulnerability · Published Jun 24, 2026 · Assigned by GitHub_M
CVE-2026-32315motionEye: World-Readable Configuration File Exposes Admin Password Hash
Medium 5.5
In plain English
A medium-severity incorrect permission assignment in motioneye from motioneye-project. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 77% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
motionEye (mEye) is an online interface for motion software, a video surveillance program with motion detection. Versions prior to 0.44.0 create the configuration file /etc/motioneye/motion.conf with 644 permissions (-rw-r--r--), making it readable by any local user on the system. This file contains sensitive data including the admin password hash, which can be leveraged by other vulnerabilities to escalate privileges. Additionally, per-camera configuration files (camera-*.conf) are also created with the same 644 permissions, potentially exposing camera-specific credentials and settings. The exposed SHA1 admin password hash can be cracked offline to recover the plaintext password, used directly to forge authenticated admin API requests via the signature authentication weakness (GHSA-45h7-499j-7ww3), and chained with the OS command injection flaw (CVE-2025-60787) to escalate a local unprivileged user to the Motion daemon user (often root), enabling full system compromise. This issue has been fixed in version 0.44.0.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | motioneye | 0.44.0 | GHSA-rhgp-6wq6-9j67 |
| PyPI | motioneye | 0.44.0 | PYSEC-2026-2666 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| motioneye-project | motioneye | < 0.44.0 |
Weakness: CWE-732, CWE-522, CWE-200 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N