Read the docs
TI-2025-30247 Aliases CVE-2025-47782GHSA-g5mq-prx7-c588

motionEye vulnerable to RCE in add_camera Function Due to unsafe command execution

Priority HIGH 80CWE-78Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.

Summary

motionEye is an online interface for the software motion, a video surveillance program with motion detection. In versions 0.43.1b1 through 0.43.1b3, using a constructed (camera) device path with the `add`/`add_camera` motionEye web API allows an attacker with motionEye admin user credentials to execute any command within a non-interactive shell as motionEye run user, `motion` by default. The vulnerability has been patched with motionEye v0.43.1b4. As a workaround, apply the patch manually.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00508 43rd percentileScored 2026-11-07
Fix Fixed motioneye (motioneye-project): 0.43.1b4motioneye (PyPI): 0.43.1b4

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
motioneye-projectmotioneye0.43.1b1 to before 0.43.1b40.43.1b4Patch availableCNA
—motioneye (PyPI)0.43.1b1 to before 0.43.1b40.43.1b4Patch availableGHSA-g5mq-prx7-c588
  • motioneye Vendormotioneye-project Affected 0.43.1b1 to before 0.43.1b4 Fixed in 0.43.1b4 Patch available CNA
  • motioneye (PyPI) Vendor— Affected 0.43.1b1 to before 0.43.1b4 Fixed in 0.43.1b4 Patch available GHSA-g5mq-prx7-c588

Remediation

  • Fix · CNA motioneye (motioneye-project) Fixed in 0.43.1b4
  • Fix · GHSA-g5mq-prx7-c588 motioneye (PyPI) Fixed in 0.43.1b4 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-47782
  2. 2026-10-03 Alias added: GHSA-g5mq-prx7-c588

References

  • TI-2026-34187 motionEye: Authentication possible via password hash CVSS 4.0CRITICAL 9.1
  • TI-2026-40043 motionEye's Absolute Path Traversal in Media File Handlers Allows Arbitrary File Read CVSS 4.0HIGH 7.7
  • TI-2025-37818 MotionEye v0.43.1b4 and before is vulnerable to OS Command Injection in configuration… CVSS 3.1HIGH 7.2
  • TI-2026-40322 motionEye: Missing authentication on ActionHandler allows unauthenticated camera action execution CVSS 3.1MEDIUM 5.3
  • TI-2026-24521 motionEye: Arbitrary File Read via Path Traversal in Picture/Movie Preview Endpoint CVSS 3.1MEDIUM 6.5
  • TI-2026-24843 motionEye: World-Readable Configuration File Exposes Admin Password Hash CVSS 3.1MEDIUM 5.5
See all 8 →

Sources