CVE-2025-60787Motioneye OS Command Injection
motionEye vulnerable to RCE via unsanitized motion config parameter
Published Oct 3, 2025 · Updated Nov 7, 2026 · Also known as GHSA-j945-qm58-4gjx, PYSEC-2026-1680
Key Facts
Patch immediately- CVE-2025-60787 is a high-severity vulnerability (CVSS 7.2 v3.1) affecting Motioneye (Motioneye Project).
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 29% probability of exploitation in the next 30 days.
- Fixed versions are available, including Motioneye 0.43.1b5.
- Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.
Scores
CVSS v3.1
7.2
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
29%
Higher than 98.1% of all scored CVEs
Exploit maturity
Weaponized
ATLAS score
55/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Weaponized
Public exploit code
2
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
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.
Affected Products
6 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| MotioneyeMotioneye Project | 0.42.1, 0.43.1-beta1, 0.43.1-beta2, 0.43.1-beta3, 0.43.1-beta4 | 0.43.1b5 |
Patched Releases
Motioneye
0.43.1b5
Timeline
Publicly disclosed
Oct 3, 2025
Last updated
Nov 7, 2026
Weakness Type
- CWE-20 Improper Input Validation
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
- CWE-116 Improper Encoding or Escaping of Output
References
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2025-60787
- advisoryGHSA advisory
- exploitMSF motioneye_auth_rce_cve_2025_60787.rb
- exploitExploitDB-52481
FAQ
Common Questions.
MotionEye v0.43.1b4 and before is vulnerable to OS Command Injection in configuration parameters such as image_file_name.
Affected: Motioneye (Motioneye Project) versions 0.42.1, 0.43.1-beta1, 0.43.1-beta2, 0.43.1-beta3, 0.43.1-beta4. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including Motioneye 0.43.1b5.
Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.
Is CVE-2025-60787 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo