CVEvulnerability
CVE-2026-41506
7.4 HIGH
Official page ↗
- Status
- Analyzed
- Published
- 2026-05-08
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 4.7 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N
- CVSS 3.1 ([email protected])
- 7.4 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
- Weaknesses
- CWE-522
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.
Affected configurations
• go-git project go-git (< 5.18.0)
• go-git project go-git 6.0.0
Related
Weakness · CWE (1)
- CWE-522 Insufficiently Protected Credentials weakness
References
- 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