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 products
go-git_project: go-git
References3
- github.com/go-git/go-git/security/advisories/GHSA-3xc5-wrhm-f963 Vendor Advisory
- github.com/go-git/go-git/releases/tag/v5.18.0 ProductRelease Notes
- github.com/go-git/go-git/releases/tag/v6.0.0-alpha.2 ProductRelease Notes
Metrics
- CVSS 3.1
-
7.4
HIGH
Score source: NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N - EPSS — exploit probability
- 0% percentile: 18 · as of 13 November 2026
- CWE
- CWE-522
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.