{"answers":{"affected":"7 open source packages ship an affected version, including github.com/distribution/distribution, distribution and github.com/distribution/distribution/v3. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-35172 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2026-35172 is a high-severity missing authorization vulnerability in distribution, published on 6 Apr 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-35172 and fix it if it is affected.\n\nWhat it is: CVE-2026-35172 is a high-severity missing authorization vulnerability in distribution, published on 6 Apr 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-35172 exists.\n\nAffected packages and fixed versions:\n- github.com/distribution/distribution (Go): affected all versions; no fix listed\n- github.com/distribution/distribution (Go): affected all versions up to 2.8.3; no fix listed\n- github.com/distribution/distribution (Go): affected all versions up to 2.8.3; no fix listed\n- distribution (Bitnami): affected all versions; fixed in 3.1.0\n- github.com/distribution/distribution/v3 (Go): affected all versions; fixed in 3.1.0\n- github.com/distribution/distribution/v3 (Go): affected all versions; fixed in 3.1.0\n- github.com/distribution/distribution/v3 (Go): affected all versions; fixed in 3.1.0\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-35172/ (Markdown: https://insights.sbomify.com/CVE-2026-35172/index.md)","id":"CVE-2026-35172","markdown":"https://insights.sbomify.com/CVE-2026-35172/index.md","name":"CVE-2026-35172","record":{"aliases":["BIT-distribution-2026-35172","CLEANSTART-2026-HS45258","CLEANSTART-2026-TN85120","DEBIAN-CVE-2026-35172","GHSA-f2g3-hh2r-cwgc","GO-2026-4942","MINI-2p7v-3hgm-ppx2","MINI-3hg3-4mfx-6v29","MINI-57xw-f345-cq8f","MINI-58jc-wj8w-hp5v","MINI-5jx2-23p4-pmf3","MINI-6fpc-q42g-f8qg","MINI-6rpc-gjg8-c493","MINI-775w-vpvv-mv82","MINI-7vv7-9rwh-26jc","MINI-949m-hxch-x7c8","MINI-9j26-5p8c-99cr","MINI-c4g8-74p6-pv8x","MINI-frqf-gp8q-c2m4","MINI-hx2h-74jw-x39p","MINI-m92j-qv2x-473w","MINI-pjp9-vh8x-836h","MINI-pmcm-xg5m-v8v4","MINI-pvwp-648v-wh5w","MINI-q46g-8x58-mp6x","MINI-r75m-38hp-7vpp","MINI-rrr5-3fcm-2f9f","MINI-rrvx-hmjw-hmfc","MINI-x8vv-vp6c-m689","MINI-x9jw-vwgf-9945","MINI-xv64-hrm7-xj76","UBUNTU-CVE-2026-35172"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":true,"product_category":"Container registry distribution","requires_auth":"none","summary":"Attackers can regain read access to deleted blobs in one repository by exploiting stale cache entries in another, requiring specific Redis and delete configurations.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"distribution","vendor":"distribution"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-524","name":"Use of Cache Containing Sensitive Information"},{"id":"CWE-284","name":"Improper Access Control"}],"description":"Distribution is a toolkit to pack, ship, store, and deliver container content. Prior to 3.1.0, distribution can restore read access in repo a after an explicit delete when storage.cache.blobdescriptor: redis and storage.delete.enabled: true are both enabled. The delete path clears the shared digest descriptor but leaves stale repo-scoped membership behind, so a later Stat or Get from repo b repopulates the shared descriptor and makes the deleted blob readable from repo a again. This vulnerability is fixed in 3.1.0.","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 has stale blob access resurrection via repo-scoped redis descriptor cache invalidation","id":"CVE-2026-35172","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"missing_authorization","year":"2026"},"n_packages":7,"n_references":1,"next":{"headline":"Chyrp Lite has an IDOR via Mass Assignment in Post Model","id":"CVE-2026-35173"},"packages":[{"ecosystem":"Bitnami","fixed":["3.1.0"],"introduced":["0"],"last_affected":[],"package":"distribution","purl":"pkg:bitnami/distribution","source":"BIT-distribution-2026-35172"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/distribution/distribution","purl":"pkg:golang/github.com/distribution/distribution","source":"GO-2026-4942"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["2.8.3"],"package":"github.com/distribution/distribution","purl":null,"source":"GHSA-f2g3-hh2r-cwgc"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["2.8.3"],"package":"github.com/distribution/distribution","purl":"pkg:golang/github.com/distribution/distribution","source":"GHSA-f2g3-hh2r-cwgc"},{"ecosystem":"Go","fixed":["3.1.0"],"introduced":["0"],"last_affected":[],"package":"github.com/distribution/distribution/v3","purl":null,"source":"GHSA-f2g3-hh2r-cwgc"},{"ecosystem":"Go","fixed":["3.1.0"],"introduced":["0"],"last_affected":[],"package":"github.com/distribution/distribution/v3","purl":"pkg:golang/github.com/distribution/distribution/v3","source":"GHSA-f2g3-hh2r-cwgc"},{"ecosystem":"Go","fixed":["3.1.0"],"introduced":["0"],"last_affected":[],"package":"github.com/distribution/distribution/v3","purl":"pkg:golang/github.com/distribution/distribution/v3","source":"GO-2026-4942"}],"prev":{"headline":"Arbitrary Code Execution via Malicious Logging Configuration in Kedro","id":"CVE-2026-35171"},"products":["distribution"],"published":"2026-04-06","related":[{"cvss_score":6.3,"headline":"Distribution: Tag deletion bypasses `storage.delete.enabled` configuration","id":"CVE-2026-41888","kev_date_added":null,"published":"2026-05-14"}],"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":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-09-09","vendors":["distribution"]},"summary":"Attackers can regain read access to deleted blobs in one repository by exploiting stale cache entries in another, requiring specific Redis and delete configurations.","url":"https://insights.sbomify.com/CVE-2026-35172/"}