Vulnerability Description
go-git is an extensible git implementation library written in pure Go. Prior to versions 5.18.0 and 6.0.0-alpha.2, go-git may leak HTTP authentication credentials when following redirects during smart-HTTP clone and fetch operations. This issue has been patched in versions 5.18.0 and 6.0.0-alpha.2.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Go-Git Project | Go-Git | < 5.18.0 |
Related Weaknesses (CWE)
References
- https://github.com/go-git/go-git/releases/tag/v5.18.0ProductRelease Notes
- https://github.com/go-git/go-git/releases/tag/v6.0.0-alpha.2ProductRelease Notes
- https://github.com/go-git/go-git/security/advisories/GHSA-3xc5-wrhm-f963Vendor Advisory
FAQ
What is CVE-2026-41506?
CVE-2026-41506 is a vulnerability with a CVSS score of 4.7 (MEDIUM). go-git is an extensible git implementation library written in pure Go. Prior to versions 5.18.0 and 6.0.0-alpha.2, go-git may leak HTTP authentication credentials when following redirects during smart...
How severe is CVE-2026-41506?
CVE-2026-41506 has been rated MEDIUM with a CVSS base score of 4.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-41506?
Check the references section above for vendor advisories and patch information. Affected products include: Go-Git Project Go-Git.