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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| distribution | distribution | < 3.1.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | docker-registry | 2.8.3+ds1-3 | — |
| Debian 13 | docker-registry | No fix yet | — |
| Debian 12 | docker-registry | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | docker-registry | No fix yet | — |
| Ubuntu 25.10 | docker-registry | No fix yet | — |
| Ubuntu 24.04 LTS | docker-registry | No fix yet | — |
| Ubuntu 20.04 LTS | docker-registry | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | docker-registry | No fix yet | — |
| Ubuntu Pro 22.04 LTS | docker-registry | No fix yet | — |
| Ubuntu Pro 18.04 LTS | docker-registry | No fix yet | — |
| Ubuntu Pro 16.04 LTS | docker-registry | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | distribution | 3.1.1-150400.9.41.1 | SUSE-SU-2026:4212-1 |
| SLES 15 SP6 | distribution | 3.1.1-150400.9.41.1 | SUSE-SU-2026:4212-1 |
| SLES 15 SP5 | distribution | 3.1.1-150400.9.41.1 | SUSE-SU-2026:4212-1 |
| SLES 15 SP4 | distribution | 3.1.1-150400.9.41.1 | SUSE-SU-2026:4212-1 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP6 | distribution | 3.1.1-150400.9.41.1 | SUSE-SU-2026:4212-1 |
| SLES for SAP 15 SP5 | distribution | 3.1.1-150400.9.41.1 | SUSE-SU-2026:4212-1 |
| SLES for SAP 15 SP4 | distribution | 3.1.1-150400.9.41.1 | SUSE-SU-2026:4212-1 |
| SLE HPC 15 SP5 | distribution | 3.1.1-150400.9.41.1 | SUSE-SU-2026:4212-1 |
| SLE HPC 15 SP4 | distribution | 3.1.1-150400.9.41.1 | SUSE-SU-2026:4212-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | distribution | 3.1.0-1.1 | openSUSE-SU-2026:10631-1 |
| openSUSE Leap 16.0 | govulncheck-vulndb | 0.0.20260723T184607-160000.1.1 | openSUSE-SU-2026:21483-1 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | argocd-image-updater | 1.3.0-r0 | — |
| Wolfi rolling | envoy-gateway-egctl | 1.7.1-r3 | — |
| Wolfi rolling | gitness | 3.3.0-r12 | — |
| Wolfi rolling | harbor-2.14 +3 | No fix yet | — |
| Wolfi rolling | kots | 1.130.0-r3 | — |
| Wolfi rolling | portieris | 0.13.38-r0 | — |
| Wolfi rolling | zot | 2.1.15-r8 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/distribution/distribution | <= 2.8.3 | — | GHSA-3p65-76g6-3w7r |
| Go | github.com/distribution/distribution | all versions | — | GO-2026-5094 |
| Go | github.com/distribution/distribution/v3 | < 3.1.0 | 3.1.0 | GHSA-3p65-76g6-3w7r |
Advisories 3
- SUSE-SU-2026:4212-1 Security update for distribution SUSE / openSUSE Security Updates · Sep 16, 2026
- openSUSE-SU-2026:21483-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Jul 31, 2026
- openSUSE-SU-2026:10631-1 distribution-registry-3.1.0-1.1 on GA media SUSE / openSUSE Security Updates · Apr 29, 2026