CVEvulnerability
CVE-2026-33540
7.5 HIGH
Official page ↗
- Status
- Analyzed
- Published
- 2026-04-06
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-918
Description
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.
Affected configurations
• distribution project distribution (< 3.1.0)
Related
Weakness · CWE (1)
- CWE-918 Server-Side Request Forgery weakness
References
- https://github.com/distribution/distribution/security/advisories/GHSA-3p65-76g6-3w7r Exploit, Mitigation, Vendor Advisory
- https://github.com/distribution/distribution/security/advisories/GHSA-3p65-76g6-3w7r Exploit, Mitigation, Vendor Advisory