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.
References
| Link | Resource |
|---|---|
| https://github.com/go-git/go-git/releases/tag/v5.18.0 | Product Release Notes |
| https://github.com/go-git/go-git/releases/tag/v6.0.0-alpha.2 | Product Release Notes |
| https://github.com/go-git/go-git/security/advisories/GHSA-3xc5-wrhm-f963 | Vendor Advisory |
Configurations
Configuration 1 (hide)
|
History
12 May 2026, 14:33
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/go-git/go-git/releases/tag/v5.18.0 - Product, Release Notes | |
| References | () https://github.com/go-git/go-git/releases/tag/v6.0.0-alpha.2 - Product, Release Notes | |
| References | () https://github.com/go-git/go-git/security/advisories/GHSA-3xc5-wrhm-f963 - Vendor Advisory | |
| First Time |
Go-git Project
Go-git Project go-git |
|
| CPE | cpe:2.3:a:go-git_project:go-git:6.0.0:alpha1:*:*:*:go:*:* cpe:2.3:a:go-git_project:go-git:*:*:*:*:*:go:*:* |
08 May 2026, 14:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-05-08 14:16
Updated : 2026-05-12 14:33
NVD link : CVE-2026-41506
Mitre link : CVE-2026-41506
CVE.ORG link : CVE-2026-41506
JSON object : View
Products Affected
go-git_project
- go-git
CWE
CWE-522
Insufficiently Protected Credentials
