Skip to main content
← All vulnerabilities
CVE-2025-60787PYSEC-2026-1680GHSA-J945-QM58-4GJX

MotionEye v0.43.1b4 and before is vulnerable to OS Command Injection in configuration parameters such as image_file_name.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.43.1b5
1 on Exploit-DB, 1 Metasploit module, 9 proofs of concept on GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Public exploit on Exploit-DB

    EDB-52481

  4. Record last updated
  5. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • n/a n/a

    Version range not reported

  • motioneyePyPI

    fixed in 0.43.1b5

References 12

GitHub · prabhatverma47/motionEye-RCE-through-config-parameter

Exploit-DB

GitHub · rapid7/metasploit-framework

GitHub · GarethMSheldon/CVE-2025-60787-Detection-motionEye-RCE-via-Config-Injection

GitHub · Rohitberiwala/CVE-2025-60787-MotionEye-RCE

GitHub · agent-skywalker/CVE-2025-60787

GitHub · d3vn0mi/CVE-2025-60787-POC

GitHub · diamorphine666/CVE-2025-60787

GitHub · gunzf0x/CVE-2025-60787

GitHub · lil0xplorer/CVE-2025-60787_PoC

GitHub · ozcanpng/CVE-2025-60787

GitHub · prabhatverma47/CVE-2025-60787