← back
CVE-2026-41506

go-git Credential leak via cross-host redirect in smart HTTP transport

CVSS 4.7 MEDIUMEPSS 0.3%CWE-522
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:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N
Affected products
go-git · go-git

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →