Vulnerability · Published Apr 6, 2026 · Assigned by GitHub_M

CVE-2026-33540Distribution affected by pull-through cache credential exfiltration via www-authenticate bearer realm

High 7.5

In plain English

A high-severity server-side request forgery in distribution from distribution. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 21% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.3%top 78.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12docker-registryno fix listedDEBIAN-CVE-2026-33540
Debian:13docker-registryno fix listedDEBIAN-CVE-2026-33540
Debian:14docker-registry2.8.3+ds1-3DEBIAN-CVE-2026-33540
Gogithub.com/distribution/distributionno fix listedGO-2026-5094
Gogithub.com/distribution/distributionno fix listedGHSA-3p65-76g6-3w7r
Gogithub.com/distribution/distribution/v33.1.0GHSA-3p65-76g6-3w7r
Gogithub.com/distribution/distribution/v33.1.0GO-2026-5094
Ubuntu:24.04:LTSdocker-registryno fix listedUBUNTU-CVE-2026-33540
Ubuntu:25.10docker-registryno fix listedUBUNTU-CVE-2026-33540
Ubuntu:26.10docker-registryno fix listedUBUNTU-CVE-2026-33540

Affected products (as reported)

VendorProductVersions
distribution distribution < 3.1.0

Weakness: CWE-918 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References