Information Disclosure in go-git by the Vendor
CVE-2026-41506
4.7MEDIUM
What is CVE-2026-41506?
The go-git library, known for its extensibility and written in pure Go, has a vulnerability that allows the potential leakage of HTTP authentication credentials. This occurs during smart-HTTP clone and fetch operations when following redirects. Users of versions prior to 5.18.0 and 6.0.0-alpha.2 are particularly susceptible, but this issue has been addressed in the mentioned updates.
Affected Version(s)
go-git < 5.18.0 < 5.18.0
go-git < 6.0.0-alpha.2 < 6.0.0-alpha.2
