Hex-fragment disclosure via unvalidated Git reference paths
Published Sep 15, 2026 · Updated Sep 15, 2026
Path traversal in GitHacker 1.1.7 and earlier allows remote attackers to disclose local hex fragments through a malicious .git server. add_head_file_tasks joins unvalidated .git/HEAD ref segments beneath temp_dst/.git/logs and reads outside that tree, while add_hashes_parsed converts 40-character hexadecimal matches into outbound object requests. Exploitation requires a user to run the tool against the attacker's URL; only path existence and matching 40-character fragments are exposed.
Summary
What happened
Path traversal in GitHacker 1.1.7 and earlier allows remote attackers to disclose local hex fragments through a malicious .git server. add_head_file_tasks joins unvalidated .git/HEAD ref segments beneath temp_dst/.git/logs and reads outside that tree, while add_hashes_parsed converts 40-character hexadecimal matches into outbound object requests. Exploitation requires a user to run the tool against the attacker's URL; only path existence and matching 40-character fragments are exposed.
The record
- CVE
- CVE-2026-50024
- Published
- Sep 15, 2026
- Updated
- Sep 15, 2026
- Vendor
- Wang Yihang
- Product
- GitHacker
- Classifications
- CWE-22, CWE-23, T1005
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 15, 2026CVE publishedPublication date reported by the CVE source.
- Sep 15, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 1.1.8
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Malicious .git/HEAD traversal proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo