PoC Monitor
← All CVEs
CVE-2026-41506published 8 May 2026 13:43 UTCData: JSON · API

Go-git

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

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.4high · scored by NVD · CWE-522
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

go-git go-git
  • < 5.18.0
  • < 6.0.0-alpha.2

Fixed in 5.18.0, 6.0.0-alpha.2

Mitigation

Upgrade go-git to 5.18.0 or 6.0.0-alpha.2 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published8 May 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.