{"id":"CVE-2025-47782","published":"2025-05-14T15:54:59Z","modified":"2025-05-14T17:36:32Z","title":"motionEye vulnerable to RCE in add_camera Function Due to unsafe command execution","vendor":"motioneye-project","product":"motioneye","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.9,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00878,"percentile":0.56762,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/motioneye-project/motioneye/security/advisories/GHSA-g5mq-prx7-c588","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/motioneye-project/motioneye/issues/3142","tags":["x_refsource_MISC"]},{"url":"https://github.com/motioneye-project/motioneye/pull/3143","tags":["x_refsource_MISC"]}],"priority":{"score":17.6,"factors":[{"name":"EPSS percentile","points":11.35},{"name":"CVSS severity","points":6.23}]},"vendorSlug":"motioneye-project","affectedVersions":[{"vendor":"motioneye-project","product":"motioneye","versions":[">= 0.43.1b1, < 0.43.1b4"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-05-14T17:36:29.166679Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"motioneye","vulnerableRanges":[">=0.43.1b1, <0.43.1b4"],"patched":["0.43.1b4"],"from":["GHSA-g5mq-prx7-c588","PYSEC-2025-39"],"provenance":"source"}],"summary":{"text":"The motionEye web interface (product motioneye, from the motioneye-project vendor) contains an OS command injection flaw in its add/add_camera API, where a constructed camera device path is passed unsafely into command execution. An attacker who has motionEye admin credentials and network access to the web API can craft that device path to run arbitrary commands in a non-interactive shell as the motionEye run user (motion by default), with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:41Z"},"euvd":{"id":"EUVD-2025-14950","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-25568","published":"2022-03-24","fixed":"0.43.1b1","kev":false},{"cve":"CVE-2025-47782","published":"2025-05-14","fixed":"0.43.1b4","kev":false},{"cve":"CVE-2025-60787","published":"2025-10-03","fixed":"0.43.1b5","kev":false,"link":{"from":"CVE-2025-47782","to":"CVE-2025-60787","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:motioneye","fromFixed":"0.43.1b4","toFixed":"0.43.1b5","daysApart":142}]}},{"cve":"CVE-2026-31978","published":"2026-06-24","fixed":"0.44.0","kev":false},{"cve":"CVE-2026-32315","published":"2026-06-24","fixed":"0.44.0","kev":false}],"package":"PyPI:motioneye"}}