All CVEs / Distribution Project
CVE-2026-33540Distribution Project Distribution
High 7.5 No auth needed
Follow: this CVE · Distribution Project · Distribution Project Distribution We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Apr 6, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-918
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Distribution.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/distribution/distribution |
≤ 2.8.3 |
no fixed version | — |
| Go | github.com/distribution/distribution |
all |
no fixed version | — |
| Go | github.com/distribution/distribution/v3 |
< 3.1.0 |
3.1.0 |
go get github.com/distribution/distribution/v3@v3.1.0 |
| Go | github.com/distribution/distribution/v3 |
< 3.1.0 |
3.1.0 |
go get github.com/distribution/distribution/v3@v3.1.0 |
Per OSV / GitHub Advisories (GHSA-3p65-76g6-3w7r, GO-2026-5094). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| distribution_project | distribution | < 3.1.0 |
Official advisories
- Security update for distribution · SUSE · SUSE-SU-2026:4212-1 · Sep 16, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
- distribution-registry-3.1.0-1.1 on GA media · SUSE · openSUSE-SU-2026:10631-1 · Apr 28, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Mitigation Vendor Advisory