๐Ÿ” CVE Alert

CVE-2026-41506

MEDIUM 4.7

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

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/go-git/go-git/security/advisories/GHSA-3xc5-wrhm-f963 github.com: https://github.com/go-git/go-git/releases/tag/v5.18.0 github.com: https://github.com/go-git/go-git/releases/tag/v6.0.0-alpha.2