UNKNOWNCVE-2026-33540
Distribution affected by pull-through cache credential exfiltration via www-authenticate bearer realm
Platform
docker
Component
distribution
Fixed in
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.
How to fix
Actualice a la versión 3.1.0 o superior para evitar la exposición de credenciales. Esta versión corrige la vulnerabilidad al validar que la URL del realm coincida con el host del registro upstream.
Monitor your dependencies automatically
Get notified when new vulnerabilities affect your projects. Free forever.
Start free