Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. motioneye
  4. ›
  5. GHSA-qxvg-h7q2-hcxh

GHSA-qxvg-h7q2-hcxh: motionEye: LFI → pass‑the‑hash admin → unsafe restore → unauth action exec (RCE)

June 23, 2026

A multi‑stage chain in motionEye leads to remote code execution. The chain combines:

  1. Arbitrary file read (LFI) via the picture download endpoint for local motion cameras using absolute paths.
  2. Pass‑the‑hash admin auth due to accepting request signatures computed with password hashes.
  3. Unsafe config restore that extracts attacker‑controlled tarballs into CONF_PATH.
  4. Unauthenticated action execution via /action/<id>/<action>.

If the normal user password is unset, the chain becomes unauthenticated RCE. If a normal password exists, a normal user can still achieve admin escalation and RCE.


References

  • github.com/advisories/GHSA-qxvg-h7q2-hcxh
  • github.com/motioneye-project/motioneye/security/advisories/GHSA-qxvg-h7q2-hcxh

Code Behaviors & Features

Detect and mitigate GHSA-qxvg-h7q2-hcxh with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.44.0

Fixed versions

  • 0.44.0

Solution

Upgrade to version 0.44.0 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-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-269: Improper Privilege Management
  • CWE-306: Missing Authentication for Critical Function
  • CWE-347: Improper Verification of Cryptographic Signature
  • CWE-434: Unrestricted Upload of File with Dangerous Type

Source file

pypi/motioneye/GHSA-qxvg-h7q2-hcxh.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 24 Jun 2026 12:18:10 +0000.