{"id":"CVE-2026-85747","state":"PUBLISHED","title":"Distribution: Client `manifests.Get()` does not verify returned content against requested digest","description":"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.","publishedAt":"2026-10-13T18:20:56.539Z","updatedAt":"2026-10-18T13:38:36.137Z","severity":{"score":6.8,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["distribution distribution"],"affected":[{"vendor":"distribution","product":"distribution","versions":[{"version":"< 3.1.2","status":"affected"}]}],"references":["https://github.com/distribution/distribution/security/advisories/GHSA-685w-q87j-wqw3","https://github.com/distribution/distribution/commit/960439b09f342cdeb8f1c0e18e8c7349bdcfbf80","https://github.com/distribution/distribution/releases/tag/v3.1.2"],"weaknesses":["CWE-354"],"ingestedAt":"2026-10-29T20:13:15.269Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/85xxx/CVE-2026-85747.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-85747","state":"PUBLISHED","datePublished":"2026-10-13T18:20:56.539Z","dateUpdated":"2026-10-18T13:38:36.137Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-09-04T14:50:16.720Z"},"containers":{"cna":{"title":"Distribution: Client `manifests.Get()` does not verify returned content against requested digest","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"distribution","product":"distribution","versions":[{"version":"< 3.1.2","status":"affected"}]}],"references":[{"url":"https://github.com/distribution/distribution/security/advisories/GHSA-685w-q87j-wqw3","name":"https://github.com/distribution/distribution/security/advisories/GHSA-685w-q87j-wqw3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/distribution/distribution/commit/960439b09f342cdeb8f1c0e18e8c7349bdcfbf80","name":"https://github.com/distribution/distribution/commit/960439b09f342cdeb8f1c0e18e8c7349bdcfbf80","tags":["x_refsource_MISC"]},{"url":"https://github.com/distribution/distribution/releases/tag/v3.1.2","name":"https://github.com/distribution/distribution/releases/tag/v3.1.2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.8,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-354","lang":"en","description":"CWE-354: Improper Validation of Integrity Check Value","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-10-13T18:20:56.539Z"},"source":{"advisory":"GHSA-685w-q87j-wqw3","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/distribution/distribution/security/advisories/GHSA-685w-q87j-wqw3","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-18T13:38:30.998638Z","id":"CVE-2026-85747","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-18T13:38:36.137Z"}}]}}}