CVE-2026-9496 json
pacote is vulnerable to Denial of Service (DoS) via the addGitSha function
published 2026-05-26 5 mo ago modified 2026-09-10 1 mo ago also GHSA-w4pp-8pjf-rmxw , EUVD-2026-31793
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 28%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm pacote 21.5.1
- n/a pacote 21.5.1
- npm Debian 14 12.0.2+ds1-1
debian advisories DEBIAN-CVE-2026-9496
- npm RHEL 9 1:10.9.8-1.22.23.2.2.module+el9.8.0+24958+80b2ac6e
- nodejs RHEL 9 1:22.23.2-2.module+el9.8.0+24958+80b2ac6e
- nodejs-libs RHEL 9 1:22.23.2-2.module+el9.8.0+24958+80b2ac6e
- nodejs-nodemon RHEL 9 3.1.14-2.module+el9.8.0+24709+804d6b5b
- nodejs-full-i18n RHEL 9 1:22.23.2-2.module+el9.8.0+24958+80b2ac6e
- nodejs-packaging RHEL 9 2021.06-6.module+el9.8.0+24709+804d6b5b
- nodejs-packaging-bundler RHEL 9 2021.06-6.module+el9.8.0+24709+804d6b5b
- nodejs22 RHEL 10.2 1:22.23.2-3.el10_2
red hat advisories RHSA-2026:84589RHSA-2026:84703RHSA-2026:76750RHSA-2026:75864RHSA-2026:75870RHSA-2026:72497
- nodejs20 SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS +1 more 20.20.2-150500.11.30.1
- nodejs24 SLES for SAP applications 16.0, SLES 16.0 24.18.0-160000.1.1
- nodejs22 SLE Module for Web and Scripting 15 SP7 22.23.0-150700.3.12.1
- nodejs24 SLE Module for Web and Scripting 15 SP7 24.17.0-150700.15.11.1
- nodejs22 SLES for SAP applications 16.0, SLES 16.0 22.23.0-160000.1.1
- nodejs20 SLES for SAP 15 SP6, SLES 15 SP6-LTSS 20.20.2-150600.3.21.1
- nodejs22 SLES for SAP 15 SP6, SLES 15 SP6-LTSS 22.23.0-150600.13.18.1
suse advisories SUSE-SU-2026:3930-1SUSE-SU-2026:3929-1SUSE-SU-2026:22565-1SUSE-SU-2026:2695-1SUSE-SU-2026:2647-1SUSE-SU-2026:2633-1
- nodejs24 openSUSE Leap 16.0 24.18.0-160000.1.1
- nodejs22 openSUSE Leap 16.0 22.23.0-160000.1.1
- nodejs24 openSUSE Tumbleweed 24.17.0-1.1
opensuse advisories openSUSE-SU-2026:21236-1openSUSE-SU-2026:21058-1openSUSE-SU-2026:11121-1
- npm AlmaLinux 9 1:10.9.8-1.22.23.2.2.module_el9.8.0+322+f4aa738c
- nodejs AlmaLinux 9 1:22.23.2-2.module_el9.8.0+322+f4aa738c
- nodejs-libs AlmaLinux 9 1:22.23.2-2.module_el9.8.0+322+f4aa738c
- nodejs-nodemon AlmaLinux 9 3.1.14-2.module_el9.8.0+302+959ebcd4
- nodejs-full-i18n AlmaLinux 9 1:22.23.2-2.module_el9.8.0+322+f4aa738c
- nodejs-packaging AlmaLinux 9 2021.06-6.module_el9.7.0+227+12323393
- nodejs-packaging-bundler AlmaLinux 9 2021.06-6.module_el9.7.0+227+12323393
- nodejs AlmaLinux 10 1:22.23.2-3.el10_2
almalinux advisories ALSA-2026:76750ALSA-2026:75864ALSA-2026:75870
- nodejs Rocky Linux 9 1:22.23.2-2.module+el9.8.0+40374+17512296
- nodejs-nodemon Rocky Linux 9 3.1.14-2.module+el9.8.0+40280+057606e8
- nodejs-nodemon Rocky Linux 9 3.1.14-2.module+el9.8.0+40264+d9b257bb
- nodejs-packaging Rocky Linux 9 2021.06-6.module+el9.7.0+40052+e32ea525
- nodejs-packaging Rocky Linux 9 2021.06-6.module+el9.7.0+40153+4d595597
- nodejs-packaging Rocky Linux 9 2021.06-6.module+el9.7.0+40165+d075e3f2
- nodejs-packaging Rocky Linux 9 2021.06-6.module+el9.8.0+40164+8921ab53
- nodejs22 Rocky Linux 10 1:22.23.2-3.el10_2
rocky linux advisories RLSA-2026:76750RLSA-2026:75864RLSA-2026:75870
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-9496 updated cvss 7.5
pacote: Pacote: Denial of Service via crafted spec.rawSpec value in addGitSha function
-
Red Hat Exploit Intelligence exploit-intelligence/vulnerability-analysis-rhel9, exploit-intelligence-tech-preview/vulnerability-analysis-rhel9affected: workaround, no fix available, no fix planned “Will not fix”
-
Red Hat Ceph Storage 4 rhceph/rhceph-4-dashboard-rhel8affected: workaround, no fix available “Fix deferred”
-
Red Hat Enterprise Linux 8 npm, nodejs, nodejs-libs, nodejs-nodemon, nodejs-full-i18n, nodejs-packaging, +1 more Red Hat Enterprise Linux 9 npm, nodejs, nodejs-libs, nodejs-full-i18n Red Hat Enterprise Linux 10 nodejs24, nodejs26affected: workaround, no fix planned “Will not fix”
-
Red Hat Enterprise Linux AI (RHEL AI) 3 rhelai3/bootc-cuda-rhel9, rhelai3/bootc-rocm-rhel9, rhelai3/bootc-gaudi-rhel9, rhelai3/disk-image-cuda-rhel9affected: workaround, no fix available, no fix planned “Will not fix”
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9 Red Hat Openshift Data Foundation 4 odf4/mcg-core-rhel9affected: workaround, no fix available
-
Red Hat Ansible Automation Platform 2.2 ansible-automation-platform/bootc-automation-portal-rhel9 1792641102fixed: vendor fix RHSA-2026:88200
-
Red Hat Enterprise Linux AppStream (v. 8) nodejs 22.23.2-2.module+el8.10.0+24957+74108fbf, nodejs-libs 22.23.2-2.module+el8.10.0+24957+74108fbf, npm 10.9.8-1.22.23.2.2.module+el8.10.0+24957+74108fbf, nodejs-nodemon 3.1.14-2.module+el8.10.0+24710+c2e9b41f, nodejs-full-i18n 22.23.2-2.module+el8.10.0+24957+74108fbf, nodejs-packaging 2021.06-6.module+el8.10.0+24710+c2e9b41f, +1 morefixed: vendor fix RHSA-2026:75870
-
Red Hat Enterprise Linux AppStream (v. 9) nodejs 22.23.2-2.module+el9.8.0+24958+80b2ac6e, nodejs-libs 22.23.2-2.module+el9.8.0+24958+80b2ac6e, npm 10.9.8-1.22.23.2.2.module+el9.8.0+24958+80b2ac6e, nodejs-nodemon 3.1.14-2.module+el9.8.0+24709+804d6b5b, nodejs-full-i18n 22.23.2-2.module+el9.8.0+24958+80b2ac6e, nodejs-packaging 2021.06-6.module+el9.8.0+24709+804d6b5b, +1 morefixed: vendor fix RHSA-2026:76750
show 14 moreshow fewer
-
Red Hat Enterprise Linux AppStream (v. 10) nodejs 22.23.2-3.el10_2, nodejs22 22.23.2-3.el10_2, nodejs-libs 22.23.2-3.el10_2, nodejs-full-i18n 22.23.2-3.el10_2, nodejs-npm 10.9.8-1.22.23.2.3.el10_2fixed: vendor fix RHSA-2026:75864
-
Red Hat Enterprise Linux AppStream EUS (v. 10.0) nodejs 22.23.2-2.el10_0, nodejs22 22.23.2-2.el10_0, nodejs-libs 22.23.2-2.el10_0, nodejs-full-i18n 22.23.2-2.el10_0, nodejs-npm 10.9.8-1.22.23.2.2.el10_0fixed: vendor fix RHSA-2026:84703
-
Red Hat Enterprise Linux AppStream EUS (v.9.6) nodejs 22.23.2-2.module+el9.6.0+25055+19201b10, nodejs-libs 22.23.2-2.module+el9.6.0+25055+19201b10, npm 10.9.8-1.22.23.2.2.module+el9.6.0+25055+19201b10, nodejs-nodemon 3.1.14-2.module+el9.6.0+24789+4011c12f, nodejs-full-i18n 22.23.2-2.module+el9.6.0+25055+19201b10, nodejs-packaging 2021.06-4.module+el9.6.0+23473+45664c2d, +1 morefixed: vendor fix RHSA-2026:84589
-
Red Hat Hardened Images grafana12.4 12.4.10-0.8.hum1, grafana12.4 12.4.10-0.9.hum1fixed: vendor fix RHSA-2026:72116
-
Red Hat OpenShift Dev Spaces 3.31 devspaces/udi-rhel9 1792708612, devspaces/openvsx-rhel9 1792494821, devspaces/dashboard-rhel9 1791945540, devspaces/pluginregistry-rhel9 1792495212fixed: vendor fix RHSA-2026:90321
-
Red Hat Satellite 6.18 satellite/iop-remediations-rhel9 1793065138fixed: vendor fix RHSA-2026:92584
-
Red Hat Satellite 6.19 satellite/iop-remediations-rhel9 1793092253fixed: vendor fix RHSA-2026:92578
-
Red Hat Migration Toolkit for Applications 8 mta/mta-cli-rhel9, mta/mta-generic-external-provider-rhel9not affected: vulnerable code not present
-
Red Hat 3scale API Management Platform 2 3scale-amp2/toolbox-rhel9not affected: vulnerable code not in execute path
-
Red Hat Connectivity Link 1 rhcl-1/rhcl-console-plugin-rhel9 Red Hat Enterprise Linux 8 grafana, grafana-loki, grafana-mssql, grafana-mysql, grafana-selinux, grafana-graphite, +8 morenot affected: vulnerable code not present
-
Red Hat Enterprise Linux 9 grafana, grafana-selinux Red Hat Enterprise Linux 10 grafananot affected: component not present
-
Red Hat Fuse 7 pacotenot affected: vulnerable code not present
-
Red Hat Hardened Images grafana13.1, grafana13.2not affected: component not present
-
Red Hat OpenShift Dev Spaces 3.31 devspaces/code-rhel9 1792599388, devspaces/server-rhel9 1792775639, devspaces/traefik-rhel9 1792464177, devspaces/udi-base-rhel9 1792686842, devspaces/code-sshd-rhel9 1792598059, devspaces/configbump-rhel9 1792461966, +6 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 5 mo ago
Exploit prediction
0.35% chance of exploitation in the next 30 days, higher than 28% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- security.snyk.io https://security.snyk.io/vuln/SNYK-JS-PACOTE-8225084 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.7 | 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 |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P |
| CNA | 4.0 | 7.7 | 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 |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | pacote | >=11.2.7, <21.5.1 |
21.5.1 |
Affected products
- n/a pacote
- n/a org.webjars.npm:pacote
Classification
References
-
github.com
/npm/pacote/commit/ce804fb1647fe1699b2f87efd01ea9f4efed8508
web
-
github.com
/npm/pacote/commit/627a7dc1a214d857472a13b48e42559c75288c9e
web
-
security.snyk.io
/vuln/SNYK-JS-PACOTE-8225084
exploit, web
-
security.snyk.io
/vuln/SNYK-JAVA-ORGWEBJARSNPM-16874025
web
-
github.com
/npm/pacote/blob/9d7459440826ab4cf962ef98d8f3fd0c4d464b5c/lib/util/add-git-sha.js%23L2C1-L13C2
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-9496
advisory
-
github.com
/npm/pacote
package
-
github.com
/npm/pacote/releases/tag/v21.5.1
web
-
github.com
/npm/pacote/releases/tag/v22.0.0
web
Sources
- CVE List CVE-2026-9496
- GitHub Advisory GHSA-w4pp-8pjf-rmxw
- NVD CVE-2026-9496
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.