{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "3.1.2"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "960439b09f342cdeb8f1c0e18e8c7349bdcfbf80"
            },
            {
              "fixed": "3220848f15d9279c66a41aa0a257469e6aede1e9"
            }
          ],
          "repo": "https://github.com/distribution/distribution",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-685w-q87j-wqw3"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-354"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85747.json"
  },
  "details": "Distribution is a toolkit to pack, ship, store, and deliver container content. Prior to 3.1.2, registry/client.(*manifests).Get() reads a manifest returned for a digest-pinned request and passes it to distribution.UnmarshalManifest without hashing the body against the requested digest, allowing a malicious or intercepted registry response to substitute attacker-chosen manifest content even when Docker-Content-Digest claims the requested value. The bundled pull-through proxy in registry/proxy/proxymanifeststore.go can cache and re-serve the substituted manifest. This issue is fixed in version 3.1.2.",
  "id": "CVE-2026-85747",
  "modified": "2026-10-15T02:31:08.502900913Z",
  "published": "2026-10-13T18:20:56.539Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/distribution/distribution/releases/tag/v3.1.2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85747.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/distribution/distribution/security/advisories/GHSA-685w-q87j-wqw3"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-85747"
    },
    {
      "type": "FIX",
      "url": "https://github.com/distribution/distribution/commit/960439b09f342cdeb8f1c0e18e8c7349bdcfbf80"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Distribution: Client `manifests.Get()` does not verify returned content against requested digest"
}