Skip to main content
← All vulnerabilities
CVE-2026-41506GO-2026-5105GHSA-3XC5-WRHM-F963

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.18.0, 6.0.0-alpha.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • go-git go-git

    fixed in 5.18.0; fixed in 6.0.0-alpha.2

  • github.com/go-git/go-git/v5Go

    fixed in 5.18.0

  • github.com/go-git/go-git/v6Go

    fixed in 6.0.0-alpha.2

References 3

GitHub · go-git/go-git