Vulnerability

CVE-2026-33540

highCVSS 3.1 7.5Published 6 Apr 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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 products

From the NVD's configuration data (CPE), vendor first.

  • Distribution Project distribution

Weakness type

References

  • github.com /distribution/distribution/security/advisories/GHSA-3p65-76…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning