Vulnerability Description
go-git is an extensible git implementation library written in pure Go. Prior to 5.19.1 and 6.0.0-alpha.4, a path validation issue in go-git could allow crafted repository data to affect files outside the intended checkout target, including the repository's .git directory. These validations were introduced in upstream Git years ago, so the vulnerability arose from go-git drifting from those checks. This vulnerability is fixed in 5.19.1 and 6.0.0-alpha.4.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Go-Git Project | Go-Git | < 5.19.1 |
Related Weaknesses (CWE)
References
FAQ
What is CVE-2026-45571?
CVE-2026-45571 is a vulnerability with a CVSS score of 5.4 (MEDIUM). go-git is an extensible git implementation library written in pure Go. Prior to 5.19.1 and 6.0.0-alpha.4, a path validation issue in go-git could allow crafted repository data to affect files outside ...
How severe is CVE-2026-45571?
CVE-2026-45571 has been rated MEDIUM with a CVSS base score of 5.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-45571?
Check the references section above for vendor advisories and patch information. Affected products include: Go-Git Project Go-Git.