CVE-2025-47782
HIGH 8.9CVSS 4.0motionEye vulnerable to RCE in add_camera Function Due to unsafe command execution
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.
- Published
- 14 May 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-78
- Also known as
- GHSA-g5mq-prx7-c588PYSEC-2025-39
- Sources
- NVDJSONOSV GHSA-g5mq-prx7-c588JSONOSV PYSEC-2025-39JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.9 | 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | motioneye | >= 0.43.1b1, < 0.43.1b4 | 0.43.1b4 |
References
- https://github.com/motioneye-project/motioneye/issues/3142 · WEB, REPORT
- https://github.com/motioneye-project/motioneye/pull/3143 · WEB
- https://github.com/motioneye-project/motioneye/security/advisories/GHSA-g5mq-prx7-c588 · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2025-47782 · ADVISORY
- https://github.com/motioneye-project/motioneye · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/motioneye/PYSEC-2025-39.yaml · WEB
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 14 May 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 14 May 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 15 May 2025)