CVE-2026-71557
Last modified
CVE-2026-71557 is a medium-severity vulnerability rated 6.3/10 on the CVSS scale. go-git is an extensible git implementation library written in pure Go. Prior to 5.19.2 and 6.0.0-alpha.5, reference names are not sanitized before being used to construct on-disk paths under the reference storage directory, so a maliciously crafted reference name (for example containing directory-traversal sequences) can cause go-git to write files outside the intended reference storage directory.
Description
go-git is an extensible git implementation library written in pure Go. Prior to 5.19.2 and 6.0.0-alpha.5, reference names are not sanitized before being used to construct on-disk paths under the reference storage directory, so a maliciously crafted reference name (for example containing directory-traversal sequences) can cause go-git to write files outside the intended reference storage directory. Versions 5.19.2 and 6.0.0-alpha.5 fix the issue.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:L
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| go-git | go-git | < 5.19.2; >= 6.0.0-alpha.1, < 6.0.0-alpha.5 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-71557?
How severe is CVE-2026-71557?
How do I fix CVE-2026-71557?
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-7153A security flaw has been discovered in Totolink A8000RU 7.1c…9.8
- CVE-2026-7154A weakness has been identified in Totolink A8000RU 7.1cu.643…9.8
- CVE-2026-7155A security vulnerability has been detected in Totolink A8000…9.8
- CVE-2026-71554h2 is a pure-Python implementation of a HTTP/2 protocol stac…5.3
- CVE-2026-71555PILOS (Platform for Interactive Live-Online Seminars) is a f…4.1
- CVE-2026-71556go-git is an extensible git implementation library written i…7.1
- CVE-2026-71558Heap type confusion vulnerability in Apache Fory C++ deseria…9.8
- CVE-2026-71559Deserialization of Untrusted Data vulnerability in the Go im…7.5
- CVE-2026-7156A vulnerability was detected in Totolink A8000RU 7.1cu.643_b…9.8
- CVE-2026-71560Out-of-bounds Read vulnerability in Apache Fory C++ deserial…9.1
- CVE-2026-7157A flaw has been found in disler aider-mcp-server up to b2516…7.3
- CVE-2026-71576A flaw was found in multicluster-global-hub. The manager com…8.5
Are you affected by CVE-2026-71557?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
