{"id":"CVE-2026-41506","published":"2026-05-08T13:43:19Z","modified":"2026-05-11T18:50:50Z","title":"go-git Credential leak via cross-host redirect in smart HTTP transport","vendor":"go-git","product":"go-git","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00259,"percentile":0.179,"provenance":"source"},"cwes":[{"id":"CWE-522","name":"Insufficiently Protected Credentials"}],"references":[{"url":"https://github.com/go-git/go-git/security/advisories/GHSA-3xc5-wrhm-f963","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/go-git/go-git/releases/tag/v5.18.0","tags":["x_refsource_MISC"]},{"url":"https://github.com/go-git/go-git/releases/tag/v6.0.0-alpha.2","tags":["x_refsource_MISC"]}],"priority":{"score":6.9,"factors":[{"name":"EPSS percentile","points":3.58},{"name":"CVSS severity","points":3.29}]},"vendorSlug":"go-git","affectedVersions":[{"vendor":"go-git","product":"go-git","versions":["< 5.18.0","< 6.0.0-alpha.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-11T18:50:31.355827Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/go-git/go-git/v5","vulnerableRanges":["<5.18.0"],"patched":["5.18.0"],"from":["GHSA-3xc5-wrhm-f963","GO-2026-5105"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/go-git/go-git/v6","vulnerableRanges":["<6.0.0-alpha.2"],"patched":["6.0.0-alpha.2"],"from":["GHSA-3xc5-wrhm-f963"],"provenance":"source"}],"summary":{"text":"go-git, a pure Go git implementation library, may leak HTTP authentication credentials when following redirects during smart-HTTP clone and fetch operations. An attacker positioned to serve or redirect a smart-HTTP request can capture those credentials when the user interacts with the operation, with no authentication required and no network-level access beyond directing the redirect.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:16:54Z"},"euvd":{"id":"EUVD-2026-28596","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-25934","published":"2026-02-09","fixed":"5.16.5","kev":false},{"cve":"CVE-2026-33762","published":"2026-03-31","fixed":"5.17.1","kev":false,"link":{"from":"CVE-2026-33762","to":"CVE-2026-41506","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/go-git/go-git/v5","fromFixed":"5.17.1","toFixed":"5.18.0","daysApart":38}]}},{"cve":"CVE-2026-34165","published":"2026-03-31","fixed":"5.17.1","kev":false},{"cve":"CVE-2026-41506","published":"2026-05-08","fixed":"5.18.0","kev":false},{"cve":"CVE-2026-45022","published":"2026-05-27","fixed":"5.19.0","kev":false,"link":{"from":"CVE-2026-41506","to":"CVE-2026-45022","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/go-git/go-git/v5","fromFixed":"5.18.0","toFixed":"5.19.0","daysApart":19},{"kind":"version-step","provenance":"source","package":"Go:github.com/go-git/go-git/v6","fromFixed":"6.0.0-alpha.2","toFixed":"6.0.0-alpha.3","daysApart":19}]}},{"cve":"CVE-2026-45570","published":"2026-05-27","fixed":"5.19.1","kev":false},{"cve":"CVE-2026-45571","published":"2026-05-27","fixed":"5.19.1","kev":false}],"package":"Go:github.com/go-git/go-git/v5"}}