← CVE Intelligence

CVE-2026-41506

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

Description (CNA)

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 (CNA)

Vendor / productVersions
go-git / go-gitaffected < 5.18.0; affected < 6.0.0-alpha.2

CWE

CWE-522

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.