CVE-2026-41506 | go-git Credential leak via cross-host redirect in smart HTTP transport

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.

Published: 2026-05-08 Last update: 2026-05-12 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2026-41506 is rated Low Risk (24.6/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.05%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2026-41506

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-13 0.05% 0.05% +0.01%
2 2026-05-09 0.05%

Full EPSS history (2 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2026-41506

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
4.7 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
2.8 1.4 [email protected]
7.4 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
2.8 4.0 [email protected]

Weakness enumeration for CVE-2026-41506

GitHub Security Advisory for CVE-2026-41506

GHSA-3xc5-wrhm-f963 · Severity: medium · Ecosystem: go — go-git: Credential leak via cross-host redirect in smart HTTP transport

OS Trackers for CVE-2026-41506

vendor priority summary link
debian not yet assigned CVE-2026-41506 not yet assigned priority: Debian including 2 source packages (golang-github-go-git-go-git, golang-github-go-git-go-git-v6), 6 status rows across 4 suites (bookworm, forky, sid, trixie): open 3, resolved 3. https://security-tracker.debian.org/tracker/CVE-2026-41506
suse medium https://www.suse.com/security/cve/CVE-2026-41506/
ubuntu medium CVE-2026-41506 medium priority: Ubuntu including 1 source packages (golang-github-go-git-go-git), 5 status rows across 5 suites (jammy, noble, questing, resolute, upstream): needs-triage 5. https://ubuntu.com/security/CVE-2026-41506

Affected software / configurations for CVE-2026-41506

Vendor Product Version Raw CPE
go-git_project go-git < 5.18.0 cpe:2.3:a:go-git_project:go-git:*:*:*:*:*:go:*:*
go-git_project go-git 6.0.0 cpe:2.3:a:go-git_project:go-git:6.0.0:alpha1:*:*:*:go:*:*

References for CVE-2026-41506

cvelogic Threat Intelligence