ADVISORIES

Vulnerability

CVE-2026-41506

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.

593 advisories report this vulnerability, across 9 ecosystems.

Advisories in Go

  • GHSA-3xc5-wrhm-f963

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

    Moderate CVE-2026-41506 Go Updated 10 September 2026
  • GO-2026-5105

    Go-git: Credential leak via cross-host redirect in smart HTTP transport in github.com/go-git/go-git

    CVE-2026-41506 Go Updated 8 August 2026

References