Home

Description

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.

PUBLISHED Reserved 2026-04-20 | Published 2026-05-08 | Updated 2026-05-08 | Assigner GitHub_M




MEDIUM: 4.7CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N

Problem types

CWE-522: Insufficiently Protected Credentials

Product status

< 5.18.0
affected

< 6.0.0-alpha.2
affected

References

github.com/...go-git/security/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

cve.org (CVE-2026-41506)

nvd.nist.gov (CVE-2026-41506)

Download JSON