CVE-2026-50024
Last modified
CVE-2026-50024 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 0.44% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| WangYihang | GitHacker | < 1.1.8 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-50024?
How severe is CVE-2026-50024?
How do I fix CVE-2026-50024?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-50019yt-dlp is a command-line audio/video downloader. From 2023.0…7.4
- CVE-2026-5002A vulnerability has been found in PromtEngineer localGPT up …7.3
- CVE-2026-50020Netty is a network application framework for development of …5.3
- CVE-2026-50021pnpm is a package manager. Prior to 10.34.0 and 11.4.0, pnpm…8.1
- CVE-2026-50022Metacat is data repository software that helps researchers p…5.8
- CVE-2026-50023yt-dlp is a command-line audio/video downloader. Prior to 20…9.6
- CVE-2026-50025Mousehole is a background service to update a seedbox IP for…6.9
- CVE-2026-50026Frappe is a full-stack web application framework. Prior to v…6.9
- CVE-2026-50027mcp-memory-service is a semantic memory layer for AI applica…9.8
- CVE-2026-50029js-toml is a TOML parser for JavaScript, Prior to version 1.…5.3
- CVE-2026-5003A vulnerability was found in PromtEngineer localGPT up to 4d…5.5
- CVE-2026-50030DataEase is an open source data visualization and analysis t…7.1
Are you affected by CVE-2026-50024?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
