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.
{
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/60xxx/CVE-2025-60787.json"
}{
"cpe": "cpe:2.3:a:motioneye_project:motioneye:0.42.1:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0.42.1"
},
{
"last_affected": "0.42.1"
}
],
"source": "CPE_STRING"
}