CVE-2025-60787
Motioneye Project Motioneye vulnerability
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 products
Motioneye. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Motioneye Project Motioneye runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/motioneye-project/motioneye/security/advisories/GHSA-j945-qm58-4gjx
- nvd.nist.gov/vuln/detail/CVE-2025-60787
- github.com/prabhatverma47/motionEye-RCE-through-config-parameter
- github.com/advisories/GHSA-j945-qm58-4gjx
- motioneye-project.com
- nvd.nist.gov/vuln/detail/CVE-2025-60787
- cve.org/CVERecord?id=CVE-2025-60787
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.