CVE-2026-9496CWE-1333

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

High · published May 26, 2026

CVSS v4.0
8.7
EPSS
0%
Percentile
26.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
8.7 · HIGH
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
EPSS
0.00346 · 26.9th percentile
Weakness
CWE-1333 · Inefficient Regular Expression Complexity
Published
2026-05-26T05:00Z
EPSS history
Timeline
  • 26 MAY 05:00Z
    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
    cvelistv5