{"id":"CVE-2026-41506","aliases":["GHSA-3xc5-wrhm-f963","GO-2026-5105"],"url":"https://o3.security/vulnerability/CVE-2026-41506","summary":"go-git Credential leak via cross-host redirect in smart HTTP transport","details":"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-08T13:43:19.911Z","modified":"2026-08-05T03:32:34.255701083Z","cvss":{"score":4.7,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/go-git/go-git/v5","fixedVersion":"5.18.0"},{"ecosystem":"Go","name":"github.com/go-git/go-git/v6","fixedVersion":"6.0.0-alpha.2"}],"fix":null,"references":[{"type":"WEB","url":"https://github.com/go-git/go-git/releases/tag/v5.18.0"},{"type":"WEB","url":"https://github.com/go-git/go-git/releases/tag/v6.0.0-alpha.2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41506.json"},{"type":"ADVISORY","url":"https://github.com/go-git/go-git/security/advisories/GHSA-3xc5-wrhm-f963"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41506"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-05T03:32:34.255701083Z"}}