{"answers":{"affected":"2 open source packages ship an affected version, including pacote.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-9496 exists.","fix":"Upgrade pacote to 21.5.1 or later.","what":"CVE-2026-9496 is a high-severity denial of service vulnerability in org.webjars.npm:pacote, published on 26 May 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-9496 and fix it if it is affected.\n\nWhat it is: CVE-2026-9496 is a high-severity denial of service vulnerability in org.webjars.npm:pacote, published on 26 May 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-9496 exists.\n\nAffected packages and fixed versions:\n- pacote (npm): affected from 11.2.7; fixed in 21.5.1\n- pacote (npm): affected from 11.2.7; fixed in 21.5.1\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-9496/ (Markdown: https://insights.sbomify.com/CVE-2026-9496/index.md)","id":"CVE-2026-9496","markdown":"https://insights.sbomify.com/CVE-2026-9496/index.md","name":"CVE-2026-9496","record":{"aliases":["CLEANSTART-2026-AI21372","CLEANSTART-2026-HY69996","CLEANSTART-2026-QH29658","CLSA-2026-1787859798","CLSA-2026-1787916402","CLSA-2026-1788781526","CLSA-2026-1790108841","CLSA-2026-1790171653","CLSA-2026-1790190327","CLSA-2026-1790201054","CLSA-2026-1790673431","CLSA-2026-1791840472","CLSA-2026-1791841538","CLSA-2026-1792163599","CLSA-2026-1792475534","CLSA-2026-1792493763","DEBIAN-CVE-2026-9496","GHSA-w4pp-8pjf-rmxw","MINI-2v4m-c453-4qhg","MINI-66pc-2cp6-x533","MINI-6f73-7cpc-x9h4","MINI-pmhf-jm4r-g23g","MINI-qjrj-4fgc-fqfc","MINI-v8j9-hfc8-9p69","MINI-whpr-9m6v-jq5h","RHSA-2026:72116","ROOT-APP-NPM-CVE-2026-9496","UBUNTU-CVE-2026-9496"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"npm package manager library","requires_auth":"none","summary":"An attacker can cause denial of service in the pacote library by supplying a crafted spec value that triggers excessive CPU consumption.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"snyk","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"description":"Versions of the package pacote from 11.2.7 and before 21.5.1 are vulnerable to Denial of Service (DoS) via the addGitSha function. An attacker can exploit this vulnerability by supplying a specially crafted spec.rawSpec value that triggers the function’s regex replacement and string-manipulation logic,  causing excessive CPU consumption and potentially stalling or crashing the process.","ecosystems":["Red Hat:hummingbird:1","npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"pacote is vulnerable to Denial of Service (DoS) via the addGitSha function","id":"CVE-2026-9496","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":3,"n_references":4,"next":{"headline":"changmingxie tcc-transaction Fastjson AutoType REST API Fastjson.parseObject deserialization","id":"CVE-2026-9497"},"packages":[{"ecosystem":"npm","fixed":["21.5.1"],"introduced":["11.2.7"],"last_affected":[],"package":"pacote","purl":null,"source":"GHSA-w4pp-8pjf-rmxw"},{"ecosystem":"npm","fixed":["21.5.1"],"introduced":["11.2.7"],"last_affected":[],"package":"pacote","purl":"pkg:npm/pacote","source":"GHSA-w4pp-8pjf-rmxw"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:12.4.10-0.8.hum1"],"introduced":["0"],"last_affected":[],"package":"grafana12.4","purl":"pkg:rpm/redhat/grafana12.4","source":"RHSA-2026:72116"}],"prev":{"headline":"@koa/router has an Access Control Bypass","id":"CVE-2026-9495"},"products":["org.webjars.npm:pacote","pacote"],"published":"2026-05-26","related":[],"sources":[{"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":"Red Hat","prefix":"RHSA"},{"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-07-07","vendors":["n/a"]},"summary":"An attacker can cause denial of service in the pacote library by supplying a crafted spec value that triggers excessive CPU consumption.","url":"https://insights.sbomify.com/CVE-2026-9496/"}