CVE-2025-60787
A public proof of concept exists; no exploitation attested.
- Published2025-10-03
- Fixed in0.43.1b5
- WeaknessCWE-116 · CWE-20 · CWE-78
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2025-10-0316:16CVE publishedNVD
- 2026-02-11Exploit-DB entryExploit-DB
Versions per branch
OSV · NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 0.43 | < 0.43.1b5 | 0.43.1b5 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 0.42 | = 0.42.1 | no fix published | NVD |
| 0.43 | = 0.43.1 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Fix
- Update motioneye to 0.43.1b5
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Proof of concept
- CISA-ADP (SSVC)PoC stated2025-10-03
- PoC-in-GitHub9 repositories, unverifiedknown since 2026-11-01prabhatverma47/CVE-2025-60787GarethMSheldon/CVE-2025-60787-Detection-motionEye-RCE-via-Config-InjectionRohitberiwala/CVE-2025-60787-MotionEye-RCEgunzf0x/CVE-2025-60787lil0xplorer/CVE-2025-60787_PoC
- Metasploit modules
- 1 moduleexploit/linux/http/motioneye_auth_rce_cve_2025_60787rank: excellentModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause. Metasploit Framework
Sources
- NVDCVE recordread 2026-11-05
- CISA-ADPSSVC decisionpoc2025-10-03
- CISA-ADPCVSS 3.17.22025-10-03
- CISA-ADPweakness (CWE)CWE-116, CWE-20, CWE-782025-10-03
- FIRST EPSSEPSS score18.6 %read 2026-11-18
- PoC-in-GitHubproof of concept9known since 2026-11-01
- Exploit-DBdetectionread 2026-11-18
- Metasploit FrameworkMetasploit modules1known since 2026-11-01
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHIGH2025-11-03
Identifiers
- EUVD-2025-32486same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-26f6-wm47-7h7jsame flawGitHub Advisory Database · CC-BY-4.0
- GHSA-j945-qm58-4gjxsame flawGitHub Advisory Database · CC-BY-4.0
- PYSEC-2026-1680same flawPyPA Advisory Database · CC-BY-4.0
- exploit/linux/http/motioneye_auth_rce_cve_2025_60787exploit moduleMetasploit Framework © Rapid7 · BSD-3-Clause
- EDB-52481exploit referenceExploit-DB · BSD-3-Clause
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Published
- 2025-10-03
- Last Modified
- 2026-11-05
- NVD status
- Modified
- GitHub Advisory
- GHSA-26f6-wm47-7h7j GHSA-j945-qm58-4gjx
Frequently asked questions
What is CVE-2025-60787?
Is CVE-2025-60787 actively exploited?
What is the CVSS score for CVE-2025-60787?
Running motioneye? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- Exploit-DB · Exploit-DB terms of service · terms restrict redistribution
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-26f6-wm47-7h7j, GHSA-j945-qm58-4gjx
- Metasploit Framework · BSD-3-Clause
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- CISA Vulnrichment · CC0-1.0