Skip to main content
← All vulnerabilities
CVE-2026-33540GHSA-3P65-76G6-3W7RGO-2026-5094

Distribution affected by pull-through cache credential exfiltration via www-authenticate bearer realm

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.1.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • distribution distribution

    fixed in 3.1.0

  • github.com/distribution/distribution/v3Go

    fixed in 3.1.0

  • github.com/distribution/distributionGo

    through 2.8.3

  • github.com/distribution/distributionGo

    All versions

References 1

GitHub · distribution/distribution