CVE-2026-9496: High severity npm/pacote vulnerability

Published May 26, 2026
·
Updated

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.

Affected Software

1 affected component
npm/pacote<=21.5.1

Event History

May 26, 2026
CVE Published
via MITRE·05:00 AM
Data Sourced
via MITRE·05:00 AM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·07:01 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·07:16 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-9496?

The severity of CVE-2026-9496 is high, with a score of 7.5.

2

How do I fix CVE-2026-9496?

To fix CVE-2026-9496, update the pacote package to a version that addresses the Denial of Service vulnerability.

3

What type of vulnerability is CVE-2026-9496?

CVE-2026-9496 is a Denial of Service (DoS) vulnerability affecting the pacote package.

4

Which versions of pacote are affected by CVE-2026-9496?

Versions of the pacote package from 11.2.7 are vulnerable to CVE-2026-9496.

5

How does an attacker exploit CVE-2026-9496?

An attacker can exploit CVE-2026-9496 by supplying a specially crafted spec.rawSpec value that triggers excessive regex replacement and string manipulation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203