Skip to content
OpenAdvisories
High · 8.9 CVE-2025-47782 EUVD-2025-14950GHSA-g5mq-prx7-c588PYSEC-2025-39

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

Published May 14, 2025 · Updated May 14, 2025 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
motioneye-project motioneye >= 0.43.1b1, < 0.43.1b4 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI motioneye >= 0.43.1b1, < 0.43.1b4 0.43.1b4 GHSA-g5mq-prx7-c588

References