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.
References
| Link | Resource |
|---|---|
| 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 |
Configurations
History
09 Apr 2026, 18:36
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:distribution_project:distribution:*:*:*:*:*:go:*:* | |
| References | () https://github.com/distribution/distribution/security/advisories/GHSA-3p65-76g6-3w7r - Exploit, Mitigation, Vendor Advisory | |
| First Time |
Distribution Project
Distribution Project distribution |
06 Apr 2026, 16:16
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/distribution/distribution/security/advisories/GHSA-3p65-76g6-3w7r - |
06 Apr 2026, 15:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-04-06 15:17
Updated : 2026-04-09 18:36
NVD link : CVE-2026-33540
Mitre link : CVE-2026-33540
CVE.ORG link : CVE-2026-33540
JSON object : View
Products Affected
distribution_project
- distribution
CWE
CWE-918
Server-Side Request Forgery (SSRF)
