CVE-2025-60787 in the critical feed json
motionEye vulnerable to RCE via unsanitized motion config parameter
published 2025-10-03 13 mo ago modified 2026-11-05 3 d ago also GHSA-j945-qm58-4gjx , PYSEC-2026-1680 , EUVD-2025-32486
- cvss
- 7.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 18.5%
- EPSS 18.5% chance of exploitation in 30 days, percentile 97%
- public exploits
- 2
- Metasploit, Exploit-DB
Summary
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.
Patch / fix
- pypi motioneye 0.43.1b5
Timeline
- First public exploit (Metasploit exploit/linux/http/motioneye_auth_rce_cve_2025_60787)
- Published
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 13 mo ago
Exploit prediction
18.46% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Metasploit exploit/linux/http/motioneye_auth_rce_cve_2025_60787 Remote Code Execution Vulnerability in MotionEye Frontend (CVE-2025-60787) metasploit exploit, excellent rank, 2025-09-09
- EDB-52481 motionEye 0.43.1b4 - RCE webapps, 2026-02-11
- github.com https://github.com/prabhatverma47/motionEye-RCE-through-config-parameter referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | motioneye | <0.43.1b5 |
0.43.1b5 |
Classification
References
-
github.com
/prabhatverma47/motionEye-RCE-through-config-parameter
web, exploit, third-party-advisory
-
github.com
/motioneye-project/motioneye/security/advisories/GHSA-j945-qm58-4gjx
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-60787
advisory
-
github.com
/motioneye-project/motioneye
package
-
pypi.org
/project/motioneye
package
-
github.com
/advisories/GHSA-j945-qm58-4gjx
advisory
Sources
- CVE List CVE-2025-60787
- GitHub Advisory GHSA-j945-qm58-4gjx
- NVD CVE-2025-60787
- OSV PYSEC-2026-1680
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.