Vulnerability · Published Oct 3, 2025 · Assigned by mitre
CVE-2025-60787
High 7.2
In plain English
A high-severity improper input validation in the motioneye package (PyPI). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 18.5% (higher than 97% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
MotionEye v0.43.1b4 and before is vulnerable to OS Command Injection in configuration parameters such as image_file_name. Unsanitized user input is written to Motion configuration files, allowing remote authenticated attackers with admin access to achieve code execution when Motion is restarted.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | motioneye | 0.43.1b5 | GHSA-j945-qm58-4gjx |
| PyPI | motioneye | 0.43.1b5 | PYSEC-2026-1680 |
Affected products (as reported)
Weakness: CWE-20, CWE-78, CWE-116 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H