{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-60787","id":"CVE-2025-60787","title":"motionEye vulnerable to RCE via unsanitized motion config parameter","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.","descriptionLong":"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:00.000Z","updated":"2026-11-07T02:30:39.610818364Z","reserved":"2025-09-26T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"motioneye","purl":"pkg:pypi/motioneye","ranges":["<0.43.1b5"],"fixed":["0.43.1b5"],"advisory":"GHSA-j945-qm58-4gjx"}],"cwes":["CWE-20","CWE-78","CWE-116"],"aliases":["GHSA-j945-qm58-4gjx","PYSEC-2026-1680"],"references":[{"url":"https://github.com/prabhatverma47/motionEye-RCE-through-config-parameter","tags":["Exploit","Third Party Advisory","package","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/60xxx/CVE-2025-60787.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-60787","tags":["advisory"]},{"url":"https://github.com/motioneye-project/motioneye/security/advisories/GHSA-j945-qm58-4gjx","tags":["web"]},{"url":"https://github.com/motioneye-project/motioneye","tags":["package"]},{"url":"https://pypi.org/project/motioneye","tags":["package"]},{"url":"https://github.com/advisories/GHSA-j945-qm58-4gjx","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.19255,"epssPercentile":0.97394,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-60787","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-60787","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-60787","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-j945-qm58-4gjx","ok":true,"note":"GHSA-j945-qm58-4gjx"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-60787","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":["EPSS 19% with CVSS 7.2"],"attention":null}