CVE-2026-41506
go-git is an extensible git implementation library written in pure …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/go-git/go-git/security/advisories/GHSA-3xc5-wrhm-f963
- github.com/advisories/GHSA-3xc5-wrhm-f963
- github.com/go-git/go-git/releases/tag/v5.18.0
- github.com/go-git/go-git/releases/tag/v6.0.0-alpha.2
- nvd.nist.gov/vuln/detail/CVE-2026-41506
- nvd.nist.gov/vuln/detail/CVE-2026-41506
- cve.org/CVERecord?id=CVE-2026-41506
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.