Vulnerability
CVE-2026-33540
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.
157 advisories report this vulnerability, across 7 ecosystems.
Advisories in Wolfi
- CGA-26q6-c78h-8g8j
- CGA-36xq-g3w2-h9c6
- CGA-3wvw-xwpx-hmwf
- CGA-48h2-qxqw-gp6f
- CGA-4fqj-cwqm-8x3v
- CGA-5vqx-j99j-vwvm
- CGA-5xv3-x49w-pxj5
- CGA-664x-3m3h-865p
- CGA-7q5q-m8wh-x868
- CGA-8fpq-9cjp-53mg
- CGA-8xqw-fvf5-4379
- CGA-f9mw-63fh-727v
- CGA-gm7r-3mjp-whvp
- CGA-jccp-5rq4-8gm8
- CGA-m5f7-v2fj-wxr2
- CGA-p5jq-j24p-3gm4
- CGA-p7jr-28fh-rq43
- CGA-px4x-7858-vrv6
- CGA-q6rv-7qrf-vq7p
- CGA-q6w7-8g86-gq56
- CGA-rpr7-2rf8-3mp4
- CGA-rxpj-64jv-vf33
- CGA-w9wp-wgg9-x779
- CGA-x4r4-3vqx-qw94