CVE-2026-41506CWE-522

go-git Credential leak via cross-host redirect in smart HTTP transport

Medium · published May 8, 2026

CVSS v3.1
4.7
EPSS
0%
Percentile
16.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.7 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00259 · 16.6th percentile
Weakness
CWE-522 · Insufficiently Protected Credentials
Published
2026-05-08T13:43Z
EPSS history
Timeline
  • 08 MAY 13:43Z
    go-git Credential leak via cross-host redirect in smart HTTP transport
    cvelistv5