Read the docs
TI-2026-36850 Aliases CVE-2026-50024GHSA-hr3m-4qwq-3mgc

Path traversal in WangYihang GitHacker

Priority LOW 30CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
Low · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-22 and the CVSS impact.

Summary

GitHacker is a tool that restores Git repositories from exposed .git directories. In 1.1.7 and earlier, add_head_file_tasks parses an attacker-controlled ref path from .git/HEAD and joins unvalidated path segments onto temp_dst/.git/logs/, allowing a malicious server to make GitHacker read an arbitrary local file when a victim runs the tool against the server's URL. add_hashes_parsed then scans the file for 40-character hexadecimal substrings and requests each match through .git/objects using the first two characters and remaining characters as path components, creating an attacker-observable existence oracle and disclosing matching hexadecimal fragments. Complete file contents are not returned, and the add_folder and add_task write path in shipped version 1.1.7 does not permit an escape. This issue is fixed in repository version 1.1.9.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00451 39th percentileScored 2026-11-07
Fix Fixed GitHacker (WangYihang): 1.1.8githacker (PyPI): 1.1.8

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
WangYihangGitHackerbefore 1.1.81.1.8Patch availableCNA
—githacker (PyPI)before 1.1.81.1.8Patch availableGHSA-hr3m-4qwq-3mgc
  • GitHacker VendorWangYihang Affected before 1.1.8 Fixed in 1.1.8 Patch available CNA
  • githacker (PyPI) Vendor— Affected before 1.1.8 Fixed in 1.1.8 Patch available GHSA-hr3m-4qwq-3mgc

Remediation

  • Fix · CNA GitHacker (WangYihang) Fixed in 1.1.8
  • Fix · GHSA-hr3m-4qwq-3mgc githacker (PyPI) Fixed in 1.1.8 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-50024
  2. 2026-10-03 Alias added: GHSA-hr3m-4qwq-3mgc

References

Sources