CVE-2026-41506: go-git Credential leak via cross-host redirect in smart HTTP transport
Vulnerability summary
CVE-2026-41506 is a high (CVSS 7.4) Insufficiently Protected Credentials vulnerability in go-git_project go-git. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 17.6% of scored vulnerabilities.
Not severe (CVSS 4.7, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 23 · Related 23Timeline
- 08-05-2026PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
8 scores · 8 sources · 1 version- CVE.orgCNA4.7MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:NDiffers
- OSV · Red hatEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated7.4HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
- OSV · DebianEcosystem advisory · calculated7.4HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
- OSV · WolfiEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:NDiffers
- OSV · GoEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:NDiffers
- OSV · ChainguardEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:NDiffers
EPSS trend
Probability
0.26%
Chance of exploitation in the next 30 days
Percentile
18%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.26% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard200 products
- act< 0.2.87-r3
- amazon-ssm-agent< 3.3.3270.0-r13
- amazon-ssm-agent-ecs-exec< 3.3.3270.0-r13
- amazon-ssm-agent-ecs-exec-fips< 3.3.3270.0-r14
- amazon-ssm-agent-fips< 3.3.3270.0-r14
1 vendor · 200 products · Showing 200 of 365
References
16 links- github.com/go-git/go-git/security/advisories/GHSA-3xc5-wrhm-f963X Refsource CONFIRMARTICLEREPORTAdvisoryWEBVendor Advisory
- github.com/go-git/go-git/releases/tag/v6.0.0-alpha.2X Refsource MISCARTICLEREPORTWEBProductRelease Notes
- images.redhat.comARTICLE
Show all 16 references
- github.com/go-git/go-gitPACKAGE