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.
Project Subscriptions
No data.
Advisories
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-3xc5-wrhm-f963 | go-git: Credential leak via cross-host redirect in smart HTTP transport |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Fri, 08 May 2026 14:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | go-git Credential leak via cross-host redirect in smart HTTP transport | |
| Weaknesses | CWE-522 | |
| References |
| |
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2026-05-08T13:43:19.911Z
Reserved: 2026-04-20T18:18:50.681Z
Link: CVE-2026-41506
No data.
Status : Awaiting Analysis
Published: 2026-05-08T14:16:33.983
Modified: 2026-05-08T16:02:14.343
Link: CVE-2026-41506
No data.
OpenCVE Enrichment
No data.
Weaknesses
Github GHSA