{"id":"CVE-2026-85747","summary":"Distribution: Client `manifests.Get()` does not verify returned content against requested digest","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.","aliases":["BIT-distribution-2026-85747","GHSA-685w-q87j-wqw3","GO-2026-6778"],"modified":"2026-11-18T17:27:27.929640108Z","published":"2026-10-13T18:20:56.539Z","related":["SUSE-SU-2026:24730-1","openSUSE-SU-2026:22336-1"],"database_specific":{"cwe_ids":["CWE-354"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85747.json","cna_assigner":"GitHub_M"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/distribution/distribution","events":[{"introduced":"0"},{"fixed":"3220848f15d9279c66a41aa0a257469e6aede1e9"},{"fixed":"960439b09f342cdeb8f1c0e18e8c7349bdcfbf80"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"3.1.2"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"960439b09f342cdeb8f1c0e18e8c7349bdcfbf80"}]},{"original_tag":"v3.1.2","range":[{"fixed":"3220848f15d9279c66a41aa0a257469e6aede1e9"}],"source":"REFERENCES_TAG"}]}}],"versions":["v3.1.1","v3.1.0","v3.0.0","v3.0.0-rc.4","v3.0.0-rc.3","v3.0.0-rc.2","v3.0.0-rc.1","v3.0.0-beta.1","v3.0.0-alpha.1","v2.7.0","v2.7.0-rc.0","v2.6.0-rc.1","docs-v2.4.1-2016-06-28","v2.5.0-rc.1","v2.4.0-rc.1","v2.3.0-rc.2","v2.3.0-rc.0","v2.3.0-rc.1","v2.3.0-alpha","v2.2.1","v2.2.0","v2.1.1","v2.1.0","v2.1.0-rc.0","v2.0.0","v2.0.0-rc.4","v2.0.0-rc.3","v2.0.0-rc.2","v2.0.0-rc.1","v2.0.0-rc.0","v2.0.0-alpha.3","v2.0.0-alpha.2","v2.0.0-alpha.1","v2.0.0-alpha.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-85747.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N"}]}