CVE-2026-9496: Denial of Service (DoS) in pacote
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.
AI Analysis
Technical Summary
CVE-2026-9496 is a denial of service vulnerability in the pacote package versions up to 11.2.7. The flaw occurs in the addGitSha function, which processes the spec.rawSpec input using regex replacement and string manipulation. An attacker can supply a crafted spec.rawSpec value that causes excessive CPU consumption, potentially stalling or crashing the affected process. The vulnerability is classified under CWE-400 (Uncontrolled Resource Consumption). The CVSS 4.0 vector indicates network attack vector, low attack complexity, no privileges or user interaction required, and high impact on availability. The package is cloud-hosted, and the vendor manages patching for this service. No known exploits in the wild have been reported.
Potential Impact
Successful exploitation leads to denial of service by exhausting CPU resources, causing the affected process to stall or crash. This impacts availability but does not affect confidentiality or integrity. The vulnerability can be triggered remotely without authentication or user interaction.
Mitigation Recommendations
A patch is available for this vulnerability. Since pacote is a cloud-hosted service, the vendor manages remediation and patch deployment server-side. Users should verify with the vendor advisory to confirm that their environment has been updated. No additional user action is required if the vendor has applied the patch.
CVE-2026-9496: Denial of Service (DoS) in pacote
Description
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.
CVSS v4.0
Score 8.7high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-9496 is a denial of service vulnerability in the pacote package versions up to 11.2.7. The flaw occurs in the addGitSha function, which processes the spec.rawSpec input using regex replacement and string manipulation. An attacker can supply a crafted spec.rawSpec value that causes excessive CPU consumption, potentially stalling or crashing the affected process. The vulnerability is classified under CWE-400 (Uncontrolled Resource Consumption). The CVSS 4.0 vector indicates network attack vector, low attack complexity, no privileges or user interaction required, and high impact on availability. The package is cloud-hosted, and the vendor manages patching for this service. No known exploits in the wild have been reported.
Potential Impact
Successful exploitation leads to denial of service by exhausting CPU resources, causing the affected process to stall or crash. This impacts availability but does not affect confidentiality or integrity. The vulnerability can be triggered remotely without authentication or user interaction.
Mitigation Recommendations
A patch is available for this vulnerability. Since pacote is a cloud-hosted service, the vendor manages remediation and patch deployment server-side. Users should verify with the vendor advisory to confirm that their environment has been updated. No additional user action is required if the vendor has applied the patch.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- snyk
- Date Reserved
- 2026-05-25T09:30:49.118Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
- Is Cloud Service
- true
Threat ID: 6a153cbca5ae1af1aa706add
Added to database: 05/26/2026, 06:25:00 UTC
Last enriched: 07/08/2026, 10:49:46 UTC
Last updated: 07/31/2026, 19:23:00 UTC
Views: 125
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.