CVE-2025-47782

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

Published May 14, 2025 CVSS 4.0 · 8.9 High EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-14950 motionEye vulnerable to RCE in add_camera Function Due to unsafe command execution
Github GHSA Github GHSA GHSA-g5mq-prx7-c588 motionEye vulnerable to RCE in add_camera Function Due to unsafe command execution
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title motionEye vulnerable to RCE in add_camera Function Due to unsafe command execution
Weaknesses CWE-78
References
Metrics cvssV4_0

{'score': 8.9, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
May 14, 2025, 5:36 PM
Reserved
May 9, 2025, 7:49 PM
Status
Deferred
Published
May 14, 2025, 4:15 PM
Modified
Jun 17, 2026, 9:28 AM