CVE-2026-50024 json
GitHacker: Path traversal in ref/hash parsing enables existence oracle and hex-fragment exfiltration via a malicious .git server
published 2026-09-09 1 mo ago modified 2026-09-30 39 d ago also GHSA-hr3m-4qwq-3mgc , PYSEC-2026-3835 , EUVD-2026-78777
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 39%
- public exploits
- 0
- none known
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.
Patch / fix
- pypi githacker 1.1.8
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 53 d ago
Exploit prediction
0.45% chance of exploitation in the next 30 days, higher than 39% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | githacker | <1.1.8 |
1.1.8 |
Affected products
- WangYihang GitHacker
Classification
References
- github.com /WangYihang/GitHacker/pull/65
- github.com /WangYihang/GitHacker/commit/16fcd81a9c3dfdf39713fde360d4e8bc3acf99e7
- github.com /WangYihang/GitHacker/commit/5f2a8ba4d451c6a1a465893507fbc42535a9d8c8
-
github.com
/WangYihang/GitHacker/commit/5f2a8ba
web
-
github.com
/WangYihang/GitHacker/security/advisories/GHSA-hr3m-4qwq-3mgc
web
-
github.com
/WangYihang/GitHacker
package
-
pypi.org
/project/githacker
package
-
github.com
/advisories/GHSA-hr3m-4qwq-3mgc
advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-50024
advisory
Sources
- CVE List CVE-2026-50024
- GitHub Advisory GHSA-hr3m-4qwq-3mgc
- NVD CVE-2026-50024
- OSV PYSEC-2026-3835
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.