CVE-2025-60787
HIGH 7.2CVSS 3.1motionEye vulnerable to RCE via unsanitized motion config parameter
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
- 3 Oct 2025
- Last modified
- 5 Nov 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-116CWE-20CWE-78
- Also known as
- GHSA-j945-qm58-4gjxPYSEC-2026-1680
- Sources
- NVDJSONOSV GHSA-j945-qm58-4gjxJSONOSV PYSEC-2026-1680JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | motioneye_project | motioneyecpe:2.3:a:motioneye_project:motioneye:0.42.1:*:*:*:*:*:*:* |
= 0.42.1 | |
| NVD | motioneye_project | motioneyecpe:2.3:a:motioneye_project:motioneye:0.43.1:beta1:*:*:*:*:*:* |
= 0.43.1 | |
| NVD | motioneye_project | motioneyecpe:2.3:a:motioneye_project:motioneye:0.43.1:beta2:*:*:*:*:*:* |
= 0.43.1 | |
| NVD | motioneye_project | motioneyecpe:2.3:a:motioneye_project:motioneye:0.43.1:beta3:*:*:*:*:*:* |
= 0.43.1 | |
| NVD | motioneye_project | motioneyecpe:2.3:a:motioneye_project:motioneye:0.43.1:beta4:*:*:*:*:*:* |
= 0.43.1 | |
| OSV | PyPI | motioneye | < 0.43.1b5 | 0.43.1b5 |
References
- https://github.com/prabhatverma47/motionEye-RCE-through-config-parameter · Exploit, Third Party Advisory, WEB
- https://github.com/motioneye-project/motioneye/security/advisories/GHSA-j945-qm58-4gjx · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-60787 · ADVISORY
- https://github.com/motioneye-project/motioneye · PACKAGE
- https://pypi.org/project/motioneye · PACKAGE
- https://github.com/advisories/GHSA-j945-qm58-4gjx · ADVISORY
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 3 Oct 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Nov 2025)