{"id":"CVE-2026-33540","published":"2026-04-06T14:55:04Z","modified":"2026-04-06T15:04:50Z","title":"Distribution affected by pull-through cache credential exfiltration via www-authenticate bearer realm","vendor":"distribution","product":"distribution","tier":"tail","description":{"text":"Distribution is a toolkit to pack, ship, store, and deliver container content. Prior to 3.1.0, in pull-through cache mode, distribution discovers token auth endpoints by parsing WWW-Authenticate challenges returned by the configured upstream registry. The realm URL from a bearer challenge is used without validating that it matches the upstream registry host. As a result, an attacker-controlled upstream (or an attacker with MitM position to the upstream) can cause distribution to send the configured upstream credentials via basic auth to an attacker-controlled realm URL. This vulnerability is fixed in 3.1.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00291,"percentile":0.22005,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/distribution/distribution/security/advisories/GHSA-3p65-76g6-3w7r","tags":["x_refsource_CONFIRM"]}],"priority":{"score":9.7,"factors":[{"name":"EPSS percentile","points":4.4},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"distribution","affectedVersions":[{"vendor":"distribution","product":"distribution","versions":["< 3.1.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-06T15:04:46.763761Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/distribution/distribution/v3","vulnerableRanges":["<3.1.0"],"patched":["3.1.0"],"from":["GHSA-3p65-76g6-3w7r","GO-2026-5094"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/distribution/distribution","vulnerableRanges":["<=2.8.3","all versions"],"patched":[],"from":["GHSA-3p65-76g6-3w7r","GO-2026-5094"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-19289","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-33540","published":"2026-04-06","fixed":"3.1.0","kev":false},{"cve":"CVE-2026-35172","published":"2026-04-06","fixed":"3.1.0","kev":false},{"cve":"CVE-2026-41888","published":"2026-05-14","fixed":"3.1.1","kev":false,"link":{"from":"CVE-2026-33540","to":"CVE-2026-41888","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/distribution/distribution/v3","fromFixed":"3.1.0","toFixed":"3.1.1","daysApart":38}]}},{"cve":"CVE-2026-85747","published":"2026-10-13","fixed":"3.1.2","kev":false}],"package":"Go:github.com/distribution/distribution/v3"}}