CVE-2026-33540
HIGH7.5EPSS 0.06%Distribution affected by pull-through cache credential exfiltration via www-authenticate bearer realm
發布日:2026/4/6修改日:2026/4/28
描述
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.
受影響套件(3)
- Debian/docker-registryfrom 0
- Go/github.com/distribution/distributionfrom 0, <= 2.8.3
- Go/github.com/distribution/distribution/v3from 0, < 3.1.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
參考連結(5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-33540
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-33540
- PATCHhttps://github.com/distribution/distribution
- WEBhttps://github.com/distribution/distribution/commit/cc5d5fa4ba02157501e6afa2cc6a903ad0338e7b
- WEBhttps://github.com/distribution/distribution/security/advisories/GHSA-3p65-76g6-3w7r