CVE-2026-41506
go-git Credential leak via cross-host redirect in smart HTTP transport
CVSS Score
4.7
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-522 |
| Vendor | go-git |
| Product | go-git |
| Published | May 8, 2026 |
Stay Ahead of the Next One
Get instant alerts for go-git go-git
Be the first to know when new medium vulnerabilities affecting go-git go-git are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
None
Availability
None
Affected Versions
go-git / go-git
< 5.18.0 < 6.0.0-alpha.2