{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-9496","id":"CVE-2026-9496","title":"pacote is vulnerable to Denial of Service (DoS) via the addGitSha function","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.","descriptionLong":"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.","published":"2026-05-26T05:00:07.813Z","updated":"2026-10-28T02:30:47.604144298Z","reserved":"2026-05-25T09:30:49.118Z","status":"Awaiting Analysis","rejected":false,"assigner":"snyk","metric":{"version":"4.0","score":8.7,"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","rating":"high","source":"snyk"},"metrics":[{"version":"4.0","score":8.7,"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","rating":"high","source":"snyk"},{"version":"4.0","score":7.7,"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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"high","source":"snyk.io"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"high","source":"GitHub"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","rating":"high","source":"snyk"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"snyk.io"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["pacote","org.webjars.npm:pacote"],"affectedProducts":[{"vendor":"n/a","product":"pacote","defaultStatus":null,"versions":[{"version":"11.2.7","lessThan":"21.5.1","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"n/a","product":"org.webjars.npm:pacote","defaultStatus":null,"versions":[{"version":"11.2.7","lessThan":"*","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"pacote","purl":"pkg:npm/pacote","ranges":[">=11.2.7 <21.5.1"],"fixed":["21.5.1"],"advisory":"GHSA-w4pp-8pjf-rmxw"}],"cwes":["CWE-1333","CWE-400"],"aliases":["GHSA-w4pp-8pjf-rmxw"],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-PACOTE-8225084","tags":["exploit","web"]},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-16874025","tags":["web"]},{"url":"https://github.com/npm/pacote/blob/9d7459440826ab4cf962ef98d8f3fd0c4d464b5c/lib/util/add-git-sha.js%23L2C1-L13C2","tags":["web"]},{"url":"https://github.com/npm/pacote/commit/ce804fb1647fe1699b2f87efd01ea9f4efed8508","tags":["fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/9xxx/CVE-2026-9496.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-9496","tags":["advisory"]},{"url":"https://github.com/npm/pacote/commit/627a7dc1a214d857472a13b48e42559c75288c9e","tags":["web"]},{"url":"https://github.com/npm/pacote","tags":["package"]},{"url":"https://github.com/npm/pacote/releases/tag/v21.5.1","tags":["web"]},{"url":"https://github.com/npm/pacote/releases/tag/v22.0.0","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.00346,"epssPercentile":0.28658,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-9496","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-9496","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-9496","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-w4pp-8pjf-rmxw","ok":true,"note":"GHSA-w4pp-8pjf-rmxw"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-9496","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}