CVE-2026-33540
Distribution is a toolkit to pack, ship, store, and deliver …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/distribution/distribution/security/advisories/GHSA-3p65-76g6-3w7r
- nvd.nist.gov/vuln/detail/CVE-2026-33540
- github.com/distribution/distribution/commit/cc5d5fa4ba02157501e6afa2cc6a903ad0338e7b
- github.com/advisories/GHSA-3p65-76g6-3w7r
- nvd.nist.gov/vuln/detail/CVE-2026-33540
- cve.org/CVERecord?id=CVE-2026-33540
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.