{
  "id": "CVE-2026-33540",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-33540",
  "published_at": "2026-04-06T14:55:04.812Z",
  "title": "Distribution affected by pull-through cache credential exfiltration via www-authenticate bearer realm",
  "vendor": "distribution",
  "product": "distribution",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-918",
  "cpes": [
    "cpe:2.3:a:distribution_project:distribution:*:*:*:*:*:go:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "distribution",
        "product": "distribution",
        "ranges": [
          "\u003c 3.1.0"
        ],
        "fixed_in": [
          "3.1.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade distribution to 3.1.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/distribution/distribution/security/advisories/GHSA-3p65-76g6-3w7r"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
