CVE-2026-9496 PUBLISHED

Assigner: snyk
Reserved: 25.05.2026 Published: 26.05.2026 Updated: 26.05.2026

Versions of the package pacote from 11.2.7 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.

Metrics

CVSS 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
CVSS Score: 8.7

Product Status

Vendor n/a
Product pacote
Versions
  • affected from 11.2.7 to * (excl.)
Vendor n/a
Product org.webjars.npm:pacote
Versions
  • affected from 11.2.7 to * (excl.)

Credits

  • Rongchen Li

References

Problem Types

  • Denial of Service (DoS)