Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. githacker
  4. ›
  5. CVE-2026-50024

CVE-2026-50024: GitHacker: Path traversal in ref/hash parsing enables existence oracle and hex-fragment exfiltration via malicious .git server

September 9, 2026

GitHacker through 1.1.7 did not validate path segments parsed from attacker-controlled .git/HEAD before joining them onto its output directory. A malicious server could coerce GitHacker into reading arbitrary local files. Contents do not stream back wholesale, but the recovery loop turns any 40-character hex substring into an outbound HTTP GET — an existence oracle for arbitrary paths plus hex-fragment exfiltration of file contents.

References

  • github.com/WangYihang/GitHacker/commit/5f2a8ba
  • github.com/WangYihang/GitHacker/security/advisories/GHSA-hr3m-4qwq-3mgc
  • github.com/advisories/GHSA-hr3m-4qwq-3mgc
  • nvd.nist.gov/vuln/detail/CVE-2026-50024

Code Behaviors & Features

Detect and mitigate CVE-2026-50024 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 1.1.8

Fixed versions

  • 1.1.8

Solution

Upgrade to version 1.1.8 or above.

Impact 5.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-23: Relative Path Traversal

Source file

pypi/githacker/CVE-2026-50024.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Tue, 22 Sep 2026 12:21:34 +0000.