SSRF in Distribution
CVE-2026-33540
- CVSS v3
- 7.5 High
- Public exploits
- None known
- EPSS
- 0.003 · 21.5th percentile
- Published
- 2026-04-06
What to do
- Fixed in
3.1.0- Affected
- 2 affected products
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.
Vulnerability class: SSRF (Server-Side Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- None
I:N - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.003, 21.5th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Distribution — versions < 3.1.0
- Distribution Project
Weakness classification (CWE)
References
- https://github.com/distribution/distribution/security/advisories/GHSA-3p65-76g6-3w7r (Exploit, Mitigation, Vendor Advisory)