Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. motioneye
  4. ›
  5. CVE-2025-47782

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

May 15, 2025 (updated October 31, 2025)

Using a constructed (camera) device path with the config/add/add_camera motionEye web API allows an attacker with motionEye admin user credentials to execute any UNIX shell code within a non-interactive shell as executing user of the motionEye instance, motion by default.

References

  • github.com/advisories/GHSA-g5mq-prx7-c588
  • github.com/motioneye-project/motioneye
  • github.com/motioneye-project/motioneye/issues/3142
  • github.com/motioneye-project/motioneye/pull/3143
  • github.com/motioneye-project/motioneye/security/advisories/GHSA-g5mq-prx7-c588
  • github.com/pypa/advisory-database/tree/main/vulns/motioneye/PYSEC-2025-39.yaml
  • nvd.nist.gov/vuln/detail/CVE-2025-47782

Code Behaviors & Features

Detect and mitigate CVE-2025-47782 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 0.43.1b1 before 0.43.1b4

Fixed versions

  • 0.43.1b4

Solution

Upgrade to version 0.43.1b4 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

pypi/motioneye/CVE-2025-47782.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:17 +0000.