cve.bz

CVE-2026-33540

7.5 highEPSS 0.3%

High (7.5) in distribution project distribution. EPSS 0.3% chance of exploitation in the next 30 days. Fixed in github.com/distribution/distribution/v3 3.1.0.

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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
0.3% chance of exploitation in the next 30 days; higher than 19% of CVEs (scores of 2026-10-31)
CWE
CWE-918
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-3p65-76g6-3w7rGogithub.com/distribution/distribution/v3<3.1.03.1.0
GHSA-3p65-76g6-3w7rGogithub.com/distribution/distribution<=2.8.3no fix published
GO-2026-5094Gogithub.com/distribution/distributionall versionsno fix published
GO-2026-5094Gogithub.com/distribution/distribution/v3<3.1.03.1.0

References

Check your stackJSON