{"api_version":"1","generated_at":"2026-05-12T15:40:56+00:00","cve":"CVE-2026-41506","urls":{"html":"https://cve.report/CVE-2026-41506","api":"https://cve.report/api/cve/CVE-2026-41506.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-41506","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-41506"},"summary":{"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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-05-08 14:16:33","updated_at":"2026-05-12 14:33:02"},"problem_types":["CWE-522","CWE-522 CWE-522: Insufficiently Protected Credentials"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"7.4","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","baseScore":7.4,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"}},{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","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","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","baseScore":4.7,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"DECLARED","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","data":{"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"}}],"references":[{"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","refsource":"security-advisories@github.com","tags":["Product","Release Notes"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"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","refsource":"security-advisories@github.com","tags":["Product","Release Notes"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"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","refsource":"security-advisories@github.com","tags":["Vendor Advisory"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-41506","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41506","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"go-git","product":"go-git","version":"affected < 5.18.0","platforms":[]},{"source":"CNA","vendor":"go-git","product":"go-git","version":"affected < 6.0.0-alpha.2","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2026","cve_id":"41506","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"go-git_project","cpe5":"go-git","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"go","cpe12":"*","cpe13":"*"},{"cve_year":"2026","cve_id":"41506","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"go-git_project","cpe5":"go-git","cpe6":"6.0.0","cpe7":"alpha1","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"go","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"41506","cve":"CVE-2026-41506","epss":"0.000470000","percentile":"0.144650000","score_date":"2026-05-11","updated_at":"2026-05-12 00:01:17"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-41506","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2026-05-11T18:50:31.355827Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-05-11T18:50:50.673Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"product":"go-git","vendor":"go-git","versions":[{"status":"affected","version":"< 5.18.0"},{"status":"affected","version":"< 6.0.0-alpha.2"}]}],"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."}],"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","description":"CWE-522: Insufficiently Protected Credentials","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-05-08T13:43:19.911Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"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/security/advisories/GHSA-3xc5-wrhm-f963"},{"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/v5.18.0"},{"name":"https://github.com/go-git/go-git/releases/tag/v6.0.0-alpha.2","tags":["x_refsource_MISC"],"url":"https://github.com/go-git/go-git/releases/tag/v6.0.0-alpha.2"}],"source":{"advisory":"GHSA-3xc5-wrhm-f963","discovery":"UNKNOWN"},"title":"go-git Credential leak via cross-host redirect in smart HTTP transport"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-41506","datePublished":"2026-05-08T13:43:19.911Z","dateReserved":"2026-04-20T18:18:50.681Z","dateUpdated":"2026-05-11T18:50:50.673Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-05-08 14:16:33","lastModifiedDate":"2026-05-12 14:33:02","problem_types":["CWE-522","CWE-522 CWE-522: Insufficiently Protected Credentials"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","baseScore":4.7,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":1.4},{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","baseScore":7.4,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":4}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:go-git_project:go-git:*:*:*:*:*:go:*:*","versionEndExcluding":"5.18.0","matchCriteriaId":"59076F74-E498-4166-A300-C75F25F00F68"},{"vulnerable":true,"criteria":"cpe:2.3:a:go-git_project:go-git:6.0.0:alpha1:*:*:*:go:*:*","matchCriteriaId":"DE1B5EEF-2491-4FDA-AAD5-338EF0AB58F2"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"41506","Ordinal":"1","Title":"go-git Credential leak via cross-host redirect in smart HTTP tra","CVE":"CVE-2026-41506","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"41506","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"go-git Credential leak via cross-host redirect in smart HTTP tra"}]}}}