{"id":"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.","aliases":["GHSA-3xc5-wrhm-f963"],"modified":"2026-05-22T18:29:13.385481072Z","published":"2026-05-08T13:43:19.911Z","related":["CGA-fwfh-x7w7-2jp6","openSUSE-SU-2026:10765-1","openSUSE-SU-2026:10771-1","openSUSE-SU-2026:10803-1","openSUSE-SU-2026:10830-1","openSUSE-SU-2026:20720-1","openSUSE-SU-2026:20770-1"],"database_specific":{"cwe_ids":["CWE-522"],"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41506.json"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/go-git/go-git","events":[{"introduced":"0"},{"fixed":"137874facf9259abed21263b16fae92bae3b4f21"}]}],"versions":["v6.0.0-alpha.1","v5.12.0","v5.11.0","v5.10.1","v5.9.0","v5.10.0","v5.8.1","v5.8.0","v5.7.0","v5.6.1","v5.5.2","v5.6.0","v5.5.1","v5.5.0","v5.4.2","v5.4.1","v5.4.0","v5.3.0","v5.2.0","v5.1.0","v5.0.0","v4.13.1","v4.13.0","v4.12.0","v4.11.0","v4.10.0","v4.9.1","v4.7.1","v4.9.0","v4.8.1","v4.8.0","v4.7.0","v4.6.0","v4.5.0","v4.4.1","v4.4.0","v4.3.1","v4.3.0","v4.2.1","v4.2.0","v4.1.1","v4.1.0","v4.0.0","v4.0.0-rc15","v4.0.0-rc14","v4.0.0-rc13","v4.0.0-rc12","v4.0.0-rc11","v4.0.0-rc10","v4.0.0-rc9","v4.0.0-rc8","v4.0.0-rc7","v4.0.0-rc6","v4.0.0-rc5","v4.0.0-rc4","v4.0.0-rc3","v4.0.0-rc2","v4.0.0-rc1","v3.1.1","v3.1.0","v3.0.4","v3.0.3","v3.0.2","v3.0.1","v3.0.0","v2.2.0","v2.1.3","v2.1.2","v2.1.1","v2.1.0","v2.0.0","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-41506.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N"}]}