{"answers":{"affected":"5 open source packages ship an affected version, including github.com/distribution/distribution/v3, distribution and github.com/docker/distribution.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-85747 exists.","fix":"Upgrade github.com/distribution/distribution/v3 to 3.1.2 or later.","what":"CVE-2026-85747 is a medium-severity vulnerability in distribution, published on 13 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-85747 and fix it if it is affected.\n\nWhat it is: CVE-2026-85747 is a medium-severity vulnerability in distribution, published on 13 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-85747 exists.\n\nAffected packages and fixed versions:\n- github.com/distribution/distribution/v3 (Go): affected all versions; fixed in 3.1.2\n- github.com/distribution/distribution/v3 (Go): affected all versions; fixed in 3.1.2\n- distribution (Bitnami): affected all versions; fixed in 3.1.2\n- github.com/docker/distribution (Go): affected all versions up to 2.8.3; no fix listed\n- github.com/docker/distribution (Go): affected all versions up to 2.8.3; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-85747/ (Markdown: https://insights.sbomify.com/CVE-2026-85747/index.md)","id":"CVE-2026-85747","markdown":"https://insights.sbomify.com/CVE-2026-85747/index.md","name":"CVE-2026-85747","record":{"aliases":["BIT-distribution-2026-85747","DEBIAN-CVE-2026-85747","ECHO-45b0-46b6-bf0d","GHSA-685w-q87j-wqw3","MINI-2226-373f-w392","MINI-24hm-7m9c-x259","MINI-26fg-32hr-4mpm","MINI-2r5p-4g2v-hqqc","MINI-2rv4-g46r-j3j4","MINI-32wh-c3gj-cp9j","MINI-33rj-mr52-x5cr","MINI-34jx-hrwp-f89j","MINI-3693-r477-vx63","MINI-36hh-gcv4-frfh","MINI-37x6-fcjg-4vm3","MINI-38j6-95q3-qf6g","MINI-38mv-2j5r-p69w","MINI-3g44-pvrx-g74p","MINI-3h42-48cq-v6hj","MINI-3hwh-xv63-23qj","MINI-3j9x-gwg7-g4pc","MINI-3jxc-r5vm-2cw4","MINI-3wmh-85hx-98ch","MINI-425w-85hf-22gh","MINI-45g9-223f-72jp","MINI-45hr-pghg-4qhp","MINI-4696-8r69-2fwf","MINI-46xh-jrrv-6659","MINI-474g-cw6q-h7fh","MINI-47hf-78qp-mg34","MINI-4gvc-f6xf-398m","MINI-4h4w-4qp4-j43g","MINI-4h62-5fwg-4vm9","MINI-4h79-2wvx-275q","MINI-4hgm-c24j-mrj2","MINI-4j6f-w5w3-x99v","MINI-4p4j-3xm2-9h36","MINI-4rg7-34r2-254h","MINI-4rvm-qvff-hvpw","MINI-4wc9-2fw4-r2f4","MINI-4x77-fxrj-qh6p","MINI-529r-hx59-f7vg","MINI-54vm-9rh8-vwj4","MINI-5f76-39w9-h63f","MINI-5qc8-xm6j-2f24","MINI-5wfc-jrfh-rjx6","MINI-69jc-ppp6-m6x6","MINI-6cj3-x5mw-rj89","MINI-6cxq-788j-64gp","MINI-6g87-x98q-qjp3","MINI-6vqp-5fwg-359g","MINI-7834-2v82-77m4","MINI-7g82-m2g5-6c4g","MINI-7q5q-rr48-3gph","MINI-7v4c-6v8g-2mf4","MINI-7v7q-48ff-w6c7","MINI-89pf-g3rh-pcj9","MINI-8gx5-pcrq-9g22","MINI-8whq-866g-fjh2","MINI-8xgr-2q4r-cjjp","MINI-9555-jrqh-wfgg","MINI-9ccm-g37c-chjx","MINI-9hm3-7v92-x64g","MINI-9j2x-7ghc-xcv9","MINI-9j3x-3567-whrq","MINI-9qxv-2c9h-84ch","MINI-c64j-m99v-jx58","MINI-c64v-qgxm-v798","MINI-c66c-pg57-382h","MINI-c72v-6h88-9jpq","MINI-c78r-rwh2-365j","MINI-ch2p-q7f8-5vc9","MINI-ch8q-r7w4-7f59","MINI-chqc-5969-3v84","MINI-cm35-w7p8-4f8g","MINI-cmq4-x286-f45r","MINI-cr5w-5rm9-pm23","MINI-cxp5-24j3-623p","MINI-f347-xh66-h43x","MINI-f3cr-rf57-962h","MINI-f54m-6pwp-8rgg","MINI-f6fg-hjgf-mx9x","MINI-f6x3-qjg3-w6vm","MINI-f75j-pxv7-52rf","MINI-ffcp-prc7-6f8v","MINI-fhh5-jfhq-hwwx","MINI-fhhh-c598-gchq","MINI-fqmr-h7rg-vh36","MINI-fwp7-rw47-42r4","MINI-g3hc-vrjx-p9xf","MINI-g5rr-4x8q-fq76","MINI-gf38-fvx7-6mg5","MINI-gf7m-59px-hpf2","MINI-ggvw-56xr-r5h9","MINI-gm36-qf9h-93mq","MINI-gm74-w9gr-h62f","MINI-gm92-fj2j-v6gp","MINI-gw57-q3qx-cqfm","MINI-h4cr-p2wg-9c4j","MINI-hjr3-wx35-q4mm","MINI-hq9w-44cq-7fgp","MINI-hvpr-vw75-672r","MINI-hwcq-f684-rfv2","MINI-hx72-cj7m-x8c5","MINI-hxvr-9p24-jf22","MINI-j595-634p-x67x","MINI-j5r9-6653-x9f9","MINI-j62r-8jcq-fpr7","MINI-jc64-xf92-p5jf","MINI-jcp6-7rx4-mx56","MINI-jh57-4827-r66r","MINI-jjgr-8qqg-whgj","MINI-jmqv-gfgv-r7pg","MINI-jpjg-f7g9-4wc2","MINI-jvgp-gcwp-4jfg","MINI-m3gp-vqfc-5vp2","MINI-m6j6-8hwg-39x9","MINI-m766-55mc-7257","MINI-m7j8-v59m-v364","MINI-m87w-qwc9-4r75","MINI-m8gg-vc5x-qm7c","MINI-m8q5-qc57-c8mw","MINI-m933-pq62-f3rm","MINI-m938-fwj2-hgw8","MINI-mcp3-hwgj-jw3q","MINI-mm72-46j6-2xxp","MINI-mq2v-vf7h-97j8","MINI-mqg8-rwfp-q6j7","MINI-mqx4-p584-fqww","MINI-p22r-664x-jjrr","MINI-p2gq-5vj8-mc93","MINI-p42w-27w8-354j","MINI-p84q-cwv7-hc92","MINI-p9c9-qwj3-66mx","MINI-pchh-xj6g-fv5p","MINI-pcp8-39cq-hj6w","MINI-pcxq-33pw-g34f","MINI-pfxg-mhh4-v864","MINI-pwvc-rrx4-vj6c","MINI-q46q-jj8f-m387","MINI-qhwm-w8r6-hhj3","MINI-qj9c-c4r6-j3w4","MINI-qppp-m9c5-v3x4","MINI-r4qp-ppcp-p4cv","MINI-rf65-954m-6943","MINI-rf8r-5hhh-pc3c","MINI-rg4w-h37v-mx4r","MINI-rhcr-rcf7-q33m","MINI-rjrh-5cjc-vv43","MINI-rqg5-6p6p-6jhc","MINI-rvm4-52r3-rhv3","MINI-v2xj-9hq5-6pff","MINI-v39q-52r2-79cf","MINI-v7mp-39pv-95w7","MINI-vg77-7xwm-h8xw","MINI-vqg5-92j9-jp72","MINI-w3jf-757m-9cpc","MINI-w4qc-r86q-rg49","MINI-w69j-84v6-fv54","MINI-wqjr-2x2w-ph8m","MINI-wx5m-hq47-7jwc","MINI-x2vj-r63h-jppv","MINI-x5cq-f5fr-2624","MINI-x679-2687-r243","MINI-xpr5-wcwx-8mpv","MINI-xpvw-46rj-9f8m","MINI-xqx6-c726-cmw5","UBUNTU-CVE-2026-85747"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["code_execution","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Container registry client","requires_auth":"none","summary":"Attackers can substitute malicious container manifests during pull operations by bypassing digest verification, potentially leading to arbitrary code execution.","user_interaction":"not_required","vuln_class":"supply_chain"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-354","name":"Improper Validation of Integrity Check Value"}],"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.","ecosystems":["Bitnami","Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Distribution: Client `manifests.Get()` does not verify returned content against requested digest","id":"CVE-2026-85747","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"supply_chain","year":"2026"},"n_packages":5,"n_references":3,"next":{"headline":"MariaDB: Use-after-free with a large number of SYS_REFCURSOR's","id":"CVE-2026-85748"},"packages":[{"ecosystem":"Bitnami","fixed":["3.1.2"],"introduced":["0"],"last_affected":[],"package":"distribution","purl":"pkg:bitnami/distribution","source":"BIT-distribution-2026-85747"},{"ecosystem":"Go","fixed":["3.1.2"],"introduced":["0"],"last_affected":[],"package":"github.com/distribution/distribution/v3","purl":null,"source":"GHSA-685w-q87j-wqw3"},{"ecosystem":"Go","fixed":["3.1.2"],"introduced":["0"],"last_affected":[],"package":"github.com/distribution/distribution/v3","purl":"pkg:golang/github.com/distribution/distribution/v3","source":"GHSA-685w-q87j-wqw3"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["2.8.3"],"package":"github.com/docker/distribution","purl":null,"source":"GHSA-685w-q87j-wqw3"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["2.8.3"],"package":"github.com/docker/distribution","purl":"pkg:golang/github.com/docker/distribution","source":"GHSA-685w-q87j-wqw3"}],"prev":{"headline":"MariaDB: Out-of-bound buffer write on in `ST_AsText` of nested GeometryCollections","id":"CVE-2026-85746"},"products":["distribution"],"published":"2026-10-13","related":[],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-18","vendors":["distribution"]},"summary":"Attackers can substitute malicious container manifests during pull operations by bypassing digest verification, potentially leading to arbitrary code execution.","url":"https://insights.sbomify.com/CVE-2026-85747/"}