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.
CVE-2025-60787
CVSS base score
7.2 (v3.1)
Severity
HIGH
Attack vector
Network
Weakness
CWE-20, CWE-78, CWE-116
Last modified
November 5, 2026
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Affected products
motioneye project motioneye
References
- github.com Exploit, Third Party Advisory