RCE in Motioneye Project
CVE-2025-60787
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.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
EPSS: 0.185 (96.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Motioneye_project Motioneye — versions 0.42.1, 0.43.1
- N/a — versions n/a
Weakness classification (CWE)
Public proof-of-concept exploits
- gunzf0x/CVE-2025-60787
- lil0xplorer/CVE-2025-60787_PoC
- Rohitberiwala/CVE-2025-60787-MotionEye-RCE
- ozcanpng/CVE-2025-60787
- Revnin/CCTV-MACHINE
- agent-skywalker/CVE-2025-60787
- d3vn0mi/CVE-2025-60787-POC
- GarethMSheldon/CVE-2025-60787-Detection-motionEye-RCE-via-Config-Injection
- rapid7/metasploit-framework
- fkie-cad/nvd-json-data-feeds
References
- cve@mitre.org (Broken Link)
- cve@mitre.org (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2025-60787?
- CVE-2025-60787 is a high-severity vulnerability in Motioneye Project, classified under Improper Input Validation. CVSS score: 7.2/10. Published 2025-10-03.
- How severe is CVE-2025-60787?
- High severity. CVSS v3 base score is 7.2 out of 10.
- Is CVE-2025-60787 known to be exploited?
- 12 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.