{"id":"CVE-2025-60787","aliases":["GHSA-j945-qm58-4gjx","PYSEC-2026-1680"],"url":"https://o3.security/vulnerability/CVE-2025-60787","summary":"motionEye vulnerable to RCE via unsanitized motion config parameter","details":"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.","published":"2025-10-03T00:00:00Z","modified":"2026-08-12T03:51:10.194675501Z","cvss":{"score":7.2,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"},"epss":{"score":0.18462,"percentile":0.97097,"asOf":"2026-09-17"},"cisaKev":null,"exploitsKnown":2,"affectedPackages":[{"ecosystem":"PyPI","name":"motioneye","fixedVersion":"0.43.1b5"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/60xxx/CVE-2025-60787.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-60787"},{"type":"PACKAGE","url":"https://github.com/prabhatverma47/motionEye-RCE-through-config-parameter"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:10.194675501Z"}}