CVE-2026-9496
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.
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, npm: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | npm | Fix pending | UBUNTU-CVE-2026-9496 | |
| Ubuntu 26.04 | npm | Under investigation | UBUNTU-CVE-2026-9496 | |
| Ubuntu 25.10 | npm | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-9496 | |
| Ubuntu 24.04 | npm | Under investigation | UBUNTU-CVE-2026-9496 | |
| Ubuntu 22.04 | npm | Under investigation | UBUNTU-CVE-2026-9496 | |
| Ubuntu 20.04 | npm | Fix pending | UBUNTU-CVE-2026-9496 | |
| Ubuntu 18.04 | npm | Fix pending | UBUNTU-CVE-2026-9496 | |
| Ubuntu 16.04 | npm | Fix pending | UBUNTU-CVE-2026-9496 | |
| Ubuntu 14.04 | npm | Fix pending | UBUNTU-CVE-2026-9496 | |
| Debian 14 | npm | Fixed | 12.0.2+ds1-1 | DEBIAN-CVE-2026-9496 |
| Debian 13 | npm | Fix pending | DEBIAN-CVE-2026-9496 | |
| Debian 12 | npm | Fix pending | DEBIAN-CVE-2026-9496 | |
| Red Hat Enterprise Linux 10 | grafana | Not affected | ||
| Red Hat Enterprise Linux 10 | grafana-selinux | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs | Fixed | 1:22.23.2-3.el10_2 | RHSA-2026:75864 |
| Red Hat Enterprise Linux 10 | nodejs-devel | Fixed | 1:22.23.2-3.el10_2 | RHSA-2026:75864 |
| Red Hat Enterprise Linux 10 | nodejs-docs | Fixed | 1:22.23.2-3.el10_2 | RHSA-2026:75864 |
| Red Hat Enterprise Linux 10 | nodejs-full-i18n | Fixed | 1:22.23.2-3.el10_2 | RHSA-2026:75864 |
| Red Hat Enterprise Linux 10 | nodejs-libs | Fixed | 1:22.23.2-3.el10_2 | RHSA-2026:75864 |
| Red Hat Enterprise Linux 10 | nodejs-npm | Fixed | 1:10.9.8-1.22.23.2.3.el10_2 | RHSA-2026:75864 |
| Red Hat Enterprise Linux 10 | nodejs22 | Fixed | 1:22.23.2-3.el10_2 | RHSA-2026:75864 |
| Red Hat Enterprise Linux 10 | nodejs24 | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs24-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs24-docs | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs24-full-i18n | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs24-libs | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs24-npm | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs26 | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs26-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs26-docs | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs26-full-i18n | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs26-libs | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs26-npm | Not affected | ||
| Red Hat Enterprise Linux 9 | grafana | Not affected | ||
| Red Hat Enterprise Linux 9 | grafana-selinux | Not affected | ||
| Red Hat Enterprise Linux 9 | nodejs | Fixed Will not fix | 1:22.23.2-2.module+el9.8.0+24958+80b2ac6e | RHSA-2026:76750 |
| Red Hat Enterprise Linux 9 | nodejs-devel | Fixed | 1:22.23.2-2.module+el9.8.0+24958+80b2ac6e | RHSA-2026:76750 |
| Red Hat Enterprise Linux 9 | nodejs-docs | Fixed Will not fix | 1:22.23.2-2.module+el9.8.0+24958+80b2ac6e | RHSA-2026:76750 |
| Red Hat Enterprise Linux 9 | nodejs-full-i18n | Fixed Will not fix | 1:22.23.2-2.module+el9.8.0+24958+80b2ac6e | RHSA-2026:76750 |
| Red Hat Enterprise Linux 9 | nodejs-libs | Fixed Will not fix | 1:22.23.2-2.module+el9.8.0+24958+80b2ac6e | RHSA-2026:76750 |
| Red Hat Enterprise Linux 9 | nodejs-nodemon | Fixed | 0:3.1.14-2.module+el9.8.0+24709+804d6b5b | RHSA-2026:76750 |
| Red Hat Enterprise Linux 9 | nodejs-packaging | Fixed | 0:2021.06-6.module+el9.8.0+24709+804d6b5b | RHSA-2026:76750 |
| Red Hat Enterprise Linux 9 | nodejs-packaging-bundler | Fixed | 0:2021.06-6.module+el9.8.0+24709+804d6b5b | RHSA-2026:76750 |
| Red Hat Enterprise Linux 9 | npm | Fixed Will not fix | 1:10.9.8-1.22.23.2.2.module+el9.8.0+24958+80b2ac6e | RHSA-2026:76750 |
| Red Hat Enterprise Linux 9 | v8-12.4-devel | Fixed | 3:12.4.254.21-1.22.23.2.2.module+el9.8.0+24958+80b2ac6e | RHSA-2026:76750 |
| Red Hat Enterprise Linux 8 | grafana | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-azure-monitor | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-cloudwatch | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-elasticsearch | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-graphite | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-influxdb | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-loki | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-mssql | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-mysql | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-opentsdb | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-postgres | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-prometheus | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-selinux | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-stackdriver | Not affected | ||
| Red Hat Enterprise Linux 8 | nodejs | Fixed Will not fix | 1:22.23.2-2.module+el8.10.0+24957+74108fbf | RHSA-2026:75870 |
| Red Hat Enterprise Linux 8 | nodejs-devel | Fixed Will not fix | 1:22.23.2-2.module+el8.10.0+24957+74108fbf | RHSA-2026:75870 |
| Red Hat Enterprise Linux 8 | nodejs-docs | Fixed Will not fix | 1:22.23.2-2.module+el8.10.0+24957+74108fbf | RHSA-2026:75870 |
| Red Hat Enterprise Linux 8 | nodejs-full-i18n | Fixed Will not fix | 1:22.23.2-2.module+el8.10.0+24957+74108fbf | RHSA-2026:75870 |
| Red Hat Enterprise Linux 8 | nodejs-libs | Fixed Will not fix | 1:22.23.2-2.module+el8.10.0+24957+74108fbf | RHSA-2026:75870 |
| Red Hat Enterprise Linux 8 | nodejs-nodemon | Fixed Will not fix | 0:3.1.14-2.module+el8.10.0+24710+c2e9b41f | RHSA-2026:75870 |
| Red Hat Enterprise Linux 8 | nodejs-packaging | Fixed Will not fix | 0:2021.06-6.module+el8.10.0+24710+c2e9b41f | RHSA-2026:75870 |
| Red Hat Enterprise Linux 8 | nodejs-packaging-bundler | Fixed Will not fix | 0:2021.06-6.module+el8.10.0+24710+c2e9b41f | RHSA-2026:75870 |
| Red Hat Enterprise Linux 8 | npm | Fixed Will not fix | 1:10.9.8-1.22.23.2.2.module+el8.10.0+24957+74108fbf | RHSA-2026:75870 |
| Red Hat Enterprise Linux 8 | v8-12.4-devel | Fixed Will not fix | 3:12.4.254.21-1.22.23.2.2.module+el8.10.0+24957+74108fbf | RHSA-2026:75870 |
| Red Hat Enterprise Linux 8 | v8-13.6-devel | Will not fix Will not fix | ||
| AlmaLinux 10 | nodejs-docs | Fixed | 1:22.23.2-3.el10_2 | ALSA-2026:75864 |
| AlmaLinux 9 | nodejs | Fixed | 1:22.23.2-2.module_el9.8.0+322+f4aa738c | ALSA-2026:76750 |
| AlmaLinux 9 | nodejs-devel | Fixed | 1:22.23.2-2.module_el9.8.0+322+f4aa738c | ALSA-2026:76750 |
| AlmaLinux 9 | nodejs-docs | Fixed | 1:22.23.2-2.module_el9.8.0+322+f4aa738c | ALSA-2026:76750 |
| AlmaLinux 9 | nodejs-full-i18n | Fixed | 1:22.23.2-2.module_el9.8.0+322+f4aa738c | ALSA-2026:76750 |
| AlmaLinux 9 | nodejs-libs | Fixed | 1:22.23.2-2.module_el9.8.0+322+f4aa738c | ALSA-2026:76750 |
| AlmaLinux 9 | nodejs-nodemon | Fixed | 3.1.14-2.module_el9.8.0+302+959ebcd4 | ALSA-2026:76750 |
| AlmaLinux 9 | nodejs-packaging | Fixed | 2021.06-6.module_el9.7.0+227+12323393 | ALSA-2026:76750 |
| AlmaLinux 9 | nodejs-packaging-bundler | Fixed | 2021.06-6.module_el9.7.0+227+12323393 | ALSA-2026:76750 |
| AlmaLinux 9 | npm | Fixed | 1:10.9.8-1.22.23.2.2.module_el9.8.0+322+f4aa738c | ALSA-2026:76750 |
| AlmaLinux 9 | v8-12.4-devel | Fixed | 3:12.4.254.21-1.22.23.2.2.module_el9.8.0+322+f4aa738c | ALSA-2026:76750 |
| AlmaLinux 8 | nodejs | Fixed | 1:22.23.2-2.module_el8.10.0+4296+737cb4d7 | ALSA-2026:75870 |
| AlmaLinux 8 | nodejs-devel | Fixed | 1:22.23.2-2.module_el8.10.0+4296+737cb4d7 | ALSA-2026:75870 |
| AlmaLinux 8 | nodejs-docs | Fixed | 1:22.23.2-2.module_el8.10.0+4296+737cb4d7 | ALSA-2026:75870 |
| AlmaLinux 8 | nodejs-full-i18n | Fixed | 1:22.23.2-2.module_el8.10.0+4296+737cb4d7 | ALSA-2026:75870 |
| AlmaLinux 8 | nodejs-libs | Fixed | 1:22.23.2-2.module_el8.10.0+4296+737cb4d7 | ALSA-2026:75870 |
| AlmaLinux 8 | nodejs-nodemon | Fixed | 3.1.14-2.module_el8.10.0+4252+aedd4c30 | ALSA-2026:75870 |
| AlmaLinux 8 | nodejs-packaging | Fixed | 2021.06-6.module_el8.10.0+4158+e796f37f | ALSA-2026:75870 |
| AlmaLinux 8 | nodejs-packaging-bundler | Fixed | 2021.06-6.module_el8.10.0+4158+e796f37f | ALSA-2026:75870 |
| AlmaLinux 8 | npm | Fixed | 1:10.9.8-1.22.23.2.2.module_el8.10.0+4296+737cb4d7 | ALSA-2026:75870 |
| AlmaLinux 8 | v8-12.4-devel | Fixed | 3:12.4.254.21-1.22.23.2.2.module_el8.10.0+4296+737cb4d7 | ALSA-2026:75870 |
| Rocky Linux 10 | nodejs22 | Fixed | 1:22.23.2-3.el10_2 | RLSA-2026:75864 |
| Rocky Linux 9 | nodejs | Fixed | 1:22.23.2-2.module+el9.8.0+40374+17512296 | RLSA-2026:76750 |
| Rocky Linux 9 | nodejs-nodemon | Fixed | 0:3.1.14-2.module+el9.8.0+40264+d9b257bb | RLSA-2026:76750 |
| Rocky Linux 9 | nodejs-packaging | Fixed | 0:2021.06-6.module+el9.8.0+40164+8921ab53 | RLSA-2026:76750 |
| Rocky Linux 8 | nodejs-nodemon | Fixed | 0:3.1.14-2.module+el8.10.0+40277+b1b3f89e | RLSA-2026:75870 |
| Rocky Linux 8 | nodejs-packaging | Fixed | 0:2021.06-6.module+el8.10.0+40172+38f6fdd1 | RLSA-2026:75870 |
| npm library | pacote | Fixed | 21.5.1 | GHSA-w4pp-8pjf-rmxw |
What the vendor says
As published in the CVE record by snyk, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- pacote: affected: 11.2.7 to before 21.5.1; fixed in
21.5.1 - org.webjars.npm:pacote: affected: 11.2.7 and later
References
- https://security.snyk.io/vuln/SNYK-JS-PACOTE-8225084
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-16874025
- https://github.com/npm/pacote/blob/9d7459440826ab4cf962ef98d8f3fd0c4d464b5c/lib/util/add-git-sha.js%23L2C1-L13C2
- https://github.com/npm/pacote/commit/ce804fb1647fe1699b2f87efd01ea9f4efed8508
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.