{"id":"CVE-2025-47782","state":"PUBLISHED","title":"motionEye vulnerable to RCE in add_camera Function Due to unsafe command execution","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.","publishedAt":"2025-05-14T15:54:59.309Z","updatedAt":"2025-05-14T17:36:32.512Z","severity":{"score":8.9,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["motioneye-project motioneye"],"affected":[{"vendor":"motioneye-project","product":"motioneye","versions":[{"version":">= 0.43.1b1, < 0.43.1b4","status":"affected"}]}],"references":["https://github.com/motioneye-project/motioneye/security/advisories/GHSA-g5mq-prx7-c588","https://github.com/motioneye-project/motioneye/issues/3142","https://github.com/motioneye-project/motioneye/pull/3143"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T20:09:23.771Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/47xxx/CVE-2025-47782.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-47782","state":"PUBLISHED","datePublished":"2025-05-14T15:54:59.309Z","dateUpdated":"2025-05-14T17:36:32.512Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-05-09T19:49:35.620Z"},"containers":{"cna":{"title":"motionEye vulnerable to RCE in add_camera Function Due to unsafe command execution","descriptions":[{"lang":"en","value":"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":[{"vendor":"motioneye-project","product":"motioneye","versions":[{"version":">= 0.43.1b1, < 0.43.1b4","status":"affected"}]}],"references":[{"url":"https://github.com/motioneye-project/motioneye/security/advisories/GHSA-g5mq-prx7-c588","name":"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","name":"https://github.com/motioneye-project/motioneye/issues/3142","tags":["x_refsource_MISC"]},{"url":"https://github.com/motioneye-project/motioneye/pull/3143","name":"https://github.com/motioneye-project/motioneye/pull/3143","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.9,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-05-14T15:54:59.309Z"},"source":{"advisory":"GHSA-g5mq-prx7-c588","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/motioneye-project/motioneye/security/advisories/GHSA-g5mq-prx7-c588","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-05-14T17:36:29.166679Z","id":"CVE-2025-47782","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-05-14T17:36:32.512Z"}}]}}}