{"id":"UBUNTU-CVE-2026-85747","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.","modified":"2026-10-17T13:01:13.505342187Z","published":"2026-10-15T00:00:00Z","upstream":["CVE-2026-85747"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-85747"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-85747"},{"type":"REPORT","url":"https://github.com/distribution/distribution/security/advisories/GHSA-685w-q87j-wqw3"},{"type":"REPORT","url":"https://github.com/distribution/distribution/commit/960439b09f342cdeb8f1c0e18e8c7349bdcfbf80"},{"type":"REPORT","url":"https://github.com/distribution/distribution/releases/tag/v3.1.2"}],"affected":[{"package":{"name":"docker-registry","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/docker-registry?arch=source&distro=esm-apps%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.1~ds1-4","2.1.1~ds1-4ubuntu1","2.3.0~ds1-1","2.3.0~ds1-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"docker-registry","binary_version":"2.3.0~ds1-1ubuntu0.1~esm1"},{"binary_name":"golang-github-docker-distribution-dev","binary_version":"2.3.0~ds1-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-85747.json"}},{"package":{"name":"docker-registry","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/docker-registry?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.2~ds1-1","2.6.2~ds1-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"docker-registry","binary_version":"2.6.2~ds1-1ubuntu0.1~esm1"},{"binary_version":"2.6.2~ds1-1ubuntu0.1~esm1","binary_name":"golang-github-docker-distribution-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-85747.json"}},{"package":{"name":"docker-registry","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/docker-registry?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.6.2~ds1-2","2.7.1~ds1-2","2.7.1~ds1-3","2.7.1~ds1-4","2.7.1+ds2-5","2.7.1+ds2-7","2.7.1+ds2-7ubuntu0.1","2.7.1+ds2-7ubuntu0.2","2.7.1+ds2-7ubuntu0.3"],"ecosystem_specific":{"binaries":[{"binary_version":"2.7.1+ds2-7ubuntu0.3","binary_name":"docker-registry"},{"binary_name":"golang-github-docker-distribution-dev","binary_version":"2.7.1+ds2-7ubuntu0.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-85747.json"}},{"package":{"name":"docker-registry","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/docker-registry?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.1+ds2-7build2","2.8.0+ds1-4","2.8.0+ds1-4ubuntu0.1~esm1","2.8.0+ds1-4ubuntu0.1~esm2","2.8.0+ds1-4ubuntu0.1~esm3"],"ecosystem_specific":{"binaries":[{"binary_version":"2.8.0+ds1-4ubuntu0.1~esm3","binary_name":"docker-registry"},{"binary_name":"golang-github-docker-distribution-dev","binary_version":"2.8.0+ds1-4ubuntu0.1~esm3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-85747.json"}},{"package":{"name":"docker-registry","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/docker-registry?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.8.2+ds1-1build1","2.8.2+ds1-1ubuntu0.24.04.1","2.8.2+ds1-1ubuntu0.24.04.2","2.8.2+ds1-1ubuntu0.24.04.3"],"ecosystem_specific":{"binaries":[{"binary_version":"2.8.2+ds1-1ubuntu0.24.04.3","binary_name":"docker-registry"},{"binary_name":"golang-github-docker-distribution-dev","binary_version":"2.8.2+ds1-1ubuntu0.24.04.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-85747.json"}},{"package":{"name":"docker-registry","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/docker-registry?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.8.3+ds1-2build1","2.8.3+ds1-3"],"ecosystem_specific":{"binaries":[{"binary_name":"docker-registry","binary_version":"2.8.3+ds1-3"},{"binary_name":"golang-github-docker-distribution-dev","binary_version":"2.8.3+ds1-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-85747.json"}},{"package":{"name":"docker-registry","ecosystem":"Ubuntu:Pro:26.04:LTS","purl":"pkg:deb/ubuntu/docker-registry?arch=source&distro=esm-apps%2Fresolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.8.3+ds1-2","2.8.3+ds1-2build1","2.8.3+ds1-2ubuntu0.26.04.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"docker-registry","binary_version":"2.8.3+ds1-2ubuntu0.26.04.1~esm1"},{"binary_version":"2.8.3+ds1-2ubuntu0.26.04.1~esm1","binary_name":"golang-github-docker-distribution-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-85747.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}