{"id":"CVE-2026-41506","state":"PUBLISHED","title":"go-git Credential leak via cross-host redirect in smart HTTP transport","description":"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.","publishedAt":"2026-05-08T13:43:19.911Z","updatedAt":"2026-05-11T18:50:50.673Z","severity":{"score":4.7,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["go-git go-git"],"affected":[{"vendor":"go-git","product":"go-git","versions":[{"version":"< 5.18.0","status":"affected"},{"version":"< 6.0.0-alpha.2","status":"affected"}]}],"references":["https://github.com/go-git/go-git/security/advisories/GHSA-3xc5-wrhm-f963","https://github.com/go-git/go-git/releases/tag/v5.18.0","https://github.com/go-git/go-git/releases/tag/v6.0.0-alpha.2"],"weaknesses":["CWE-522"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/41xxx/CVE-2026-41506.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-41506","state":"PUBLISHED","datePublished":"2026-05-08T13:43:19.911Z","dateUpdated":"2026-05-11T18:50:50.673Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-20T18:18:50.681Z"},"containers":{"cna":{"title":"go-git Credential leak via cross-host redirect in smart HTTP transport","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"go-git","product":"go-git","versions":[{"version":"< 5.18.0","status":"affected"},{"version":"< 6.0.0-alpha.2","status":"affected"}]}],"references":[{"url":"https://github.com/go-git/go-git/security/advisories/GHSA-3xc5-wrhm-f963","name":"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","name":"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","name":"https://github.com/go-git/go-git/releases/tag/v6.0.0-alpha.2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.7,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-522","lang":"en","description":"CWE-522: Insufficiently Protected Credentials","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-05-08T13:43:19.911Z"},"source":{"advisory":"GHSA-3xc5-wrhm-f963","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-11T18:50:31.355827Z","id":"CVE-2026-41506","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-11T18:50:50.673Z"}}]}}}