CVE-2026-41506
Published:May 08, 2026
Updated:May 16, 2026
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.
Affected Packages
github.com/go-git/go-git/v6 (GO):
Affected version(s) =v6.0.0-alpha.1 <v6.0.0-alpha.2Fix Suggestion:
Update to version v6.0.0-alpha.2github.com/go-git/go-git/v5 (GO):
Affected version(s) >=v5.0.0 <v5.18.0Fix Suggestion:
Update to version v5.18.0github.com/go-git/go-git/v5 (GO):
Affected version(s) >=v5.0.0 <v5.18.0Fix Suggestion:
Update to version v5.18.0Related Resources (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.7
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Insufficiently Protected Credentials
EPSS
Base Score:
0.06