CVE-2026-33540
HIGHDistribution affected by pull-through cache credential exfiltration via www-authenticate bearer realm
Title source: cnaDescription
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.
Scores
CVSS v3
7.5
EPSS
0.0004
EPSS Percentile
10.9%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-918
Status
published
Products (4)
distribution/distribution
0Go
distribution/distribution
0 - 3.1.0Go
distribution/distribution
< 3.1.0
distribution_project/distribution
< 3.1.0
Published
Apr 06, 2026
Tracked Since
Apr 06, 2026