CVE-2026-41506
go-git: Credential leak via cross-host redirect in smart HTTP transport
4.7
MEDIUM
CVSS 3.1
EPSS 0.07%
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.
How to fix CVE-2026-41506
To remediate CVE-2026-41506, upgrade the affected package to a fixed version below.
- —no fix listed
- —no fix listed
- —upgrade to 5.18.0 or later
- —upgrade to 6.0.0-alpha.2 or later
Is CVE-2026-41506 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0
- from 0
- from 0, < 5.18.0
- from 0, < 6.0.0-alpha.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.7 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N |