CVEfocus › CVE database › CVE-2026-33540

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

CVSS 7.5 HighEPSS 0.4% (higher than 27% of CVEs)Published 2026-04-06Updated 2026-04-06Assigner: GitHub_M

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.

CWE-918

What to do

Fixed builds are available from Debian, Go: see the table below for the fixed version per release.

Debian, Go, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
9Fix pending
1Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10docker-registryFix pendingUBUNTU-CVE-2026-33540
Ubuntu 26.04docker-registryFix pendingUBUNTU-CVE-2026-33540
Ubuntu 25.10docker-registryWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-33540
Ubuntu 24.04docker-registryUnder investigationUBUNTU-CVE-2026-33540
Ubuntu 22.04docker-registryFix pendingUBUNTU-CVE-2026-33540
Ubuntu 20.04docker-registryFix pendingUBUNTU-CVE-2026-33540
Ubuntu 18.04docker-registryFix pendingUBUNTU-CVE-2026-33540
Ubuntu 16.04docker-registryFix pendingUBUNTU-CVE-2026-33540
Debian 14docker-registryFixed2.8.3+ds1-3DEBIAN-CVE-2026-33540
Debian 13docker-registryFix pendingDEBIAN-CVE-2026-33540
Debian 12docker-registryFix pendingDEBIAN-CVE-2026-33540
Go librarygithub.com/distribution/distributionFix pendingGO-2026-5094
Go librarygithub.com/distribution/distribution/v3Fixed3.1.0GHSA-3p65-76g6-3w7r

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.