Vulnerability · Published May 14, 2025 · Assigned by GitHub_M

CVE-2025-47782motionEye vulnerable to RCE in add_camera Function Due to unsafe command execution

High 8.9

In plain English

A high-severity OS command injection in motioneye from motioneye-project. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 44% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.9High
Exploit odds (30 days)0.5%top 56.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPImotioneye0.43.1b4GHSA-g5mq-prx7-c588
PyPImotioneye0.43.1b4PYSEC-2025-39

Affected products (as reported)

VendorProductVersions
motioneye-project motioneye >= 0.43.1b1, < 0.43.1b4

Weakness: CWE-78 · 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

References