Medium severity4.7GHSA Advisory· Published May 8, 2026· Updated May 12, 2026
CVE-2026-41506
CVE-2026-41506
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/go-git/go-git/v5Go | < 5.18.0 | 5.18.0 |
github.com/go-git/go-git/v6Go | < 6.0.0-alpha.2 | 6.0.0-alpha.2 |
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- github.com/advisories/GHSA-3xc5-wrhm-f963ghsaADVISORY
- github.com/go-git/go-git/security/advisories/GHSA-3xc5-wrhm-f963nvdVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-41506ghsaADVISORY
- github.com/go-git/go-git/releases/tag/v5.18.0nvdProductRelease NotesWEB
- github.com/go-git/go-git/releases/tag/v6.0.0-alpha.2nvdProductRelease NotesWEB
News mentions
0No linked articles in our index yet.