CVE 7.5 HIGH

Distribution affected by pull-through cache credential exfiltration via www-authenticate bearer realm_CVE-2026-33540

7.5 / 10
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

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.

Basic Information

ID CVE-2026-33540
Source GitHub_M
Published Apr 6, 2026 at 14:55
Modified Apr 6, 2026 at 15:04

Affected Product

Vendor distribution
Product distribution
Version < 3.1.0
Affected Versions distribution distribution < 3.1.0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.