The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-21717

CVE-2026-21717: Node.js V8 Hash Collision DoS Vulnerability

CVE-2026-21717 is a denial of service flaw in Node.js V8 engine where hash collisions in string internalization cause performance degradation. This post explains its impact, affected versions, and mitigation steps.

Published: April 2, 2026

CVE-2026-21717 Overview

A flaw in V8's string hashing mechanism causes integer-like strings to be hashed to their numeric value, making hash collisions trivially predictable. By crafting a request that causes many such collisions in V8's internal string table, an attacker can significantly degrade performance of the Node.js process.

The most common trigger is any endpoint that calls JSON.parse() on attacker-controlled input, as JSON parsing automatically internalizes short strings into the affected hash table.

Critical Impact

Remote attackers can cause significant performance degradation in Node.js applications by exploiting predictable hash collisions in V8's string internalization, leading to denial of service conditions.

Affected Products

  • Node.js 20.x
  • Node.js 22.x
  • Node.js 24.x
  • Node.js 25.x

Discovery Timeline

  • 2026-03-30 - CVE CVE-2026-21717 published to NVD
  • 2026-04-01 - Last updated in NVD database

Technical Details for CVE-2026-21717

Vulnerability Analysis

This algorithmic complexity attack targets V8's string hashing implementation, which is the JavaScript engine underlying Node.js. The vulnerability stems from how V8 handles string internalization—specifically, when strings that resemble integers are processed, they are hashed to their numeric value rather than using a more randomized hashing approach.

The attack surface is particularly broad because JSON.parse() automatically internalizes short strings into V8's internal string table. This means any Node.js application that parses JSON from untrusted sources—which includes the vast majority of web services—is potentially vulnerable.

When an attacker crafts input containing many strings that hash to the same bucket, the hash table degrades from O(1) to O(n) lookup performance. With sufficient collision strings, this can cause the Node.js event loop to become unresponsive, effectively creating a denial of service condition.

Root Cause

The root cause lies in V8's optimization for integer-like strings in its string hashing algorithm. When V8 encounters strings that represent integers (such as "123" or "456"), it hashes these strings to their numeric value for performance optimization in common JavaScript patterns. However, this deterministic behavior makes the hash values completely predictable, allowing attackers to construct sets of strings that will all collide in the same hash bucket.

Attack Vector

This vulnerability is exploitable over the network without any authentication or user interaction. An attacker can send specially crafted HTTP requests containing JSON payloads with numerous integer-like strings designed to collide in V8's string table. The attack complexity is considered high because the attacker must understand the hashing algorithm and craft collision-inducing payloads.

The most straightforward exploitation path involves:

  1. Identifying a target endpoint that processes JSON input
  2. Constructing a payload containing many strings that will hash to the same value
  3. Sending repeated requests to exhaust CPU resources during hash table operations

The vulnerability mechanism exploits how V8's string table internalizes short strings during JSON parsing. When JSON.parse() encounters string values, it checks if they should be internalized into the string table for memory efficiency. Integer-like strings receive special treatment during hashing, making their hash values predictable. An attacker can construct payloads where all string keys or values hash to identical buckets, causing hash table operations to degrade from constant to linear time complexity. For detailed technical information, see the Node.js March 2026 Security Update.

Detection Methods for CVE-2026-21717

Indicators of Compromise

  • Unusual CPU spikes in Node.js processes without corresponding increase in legitimate traffic
  • Slow response times or timeouts on JSON-processing endpoints
  • HTTP requests with abnormally large JSON payloads containing many short string keys
  • Event loop lag metrics showing significant degradation

Detection Strategies

  • Monitor Node.js event loop lag metrics for unexpected spikes indicating hash collision attacks
  • Implement request rate limiting on endpoints that process JSON input
  • Use application performance monitoring (APM) tools to detect CPU exhaustion patterns
  • Analyze incoming JSON payloads for suspicious patterns of integer-like string keys

Monitoring Recommendations

  • Set up alerts for Node.js process CPU utilization exceeding normal baselines
  • Monitor HTTP request payload sizes and reject abnormally large JSON bodies
  • Track response time percentiles (p95, p99) to detect performance degradation early
  • Implement logging for JSON parsing duration to identify slow parsing operations

How to Mitigate CVE-2026-21717

Immediate Actions Required

  • Update affected Node.js installations to the latest patched versions
  • Implement request body size limits to reduce the potential impact of collision attacks
  • Add rate limiting on endpoints that process user-supplied JSON
  • Consider implementing request timeouts to prevent long-running parsing operations

Patch Information

Node.js has released security updates addressing this vulnerability across all affected major versions (20.x, 22.x, 24.x, and 25.x). Organizations should upgrade to the latest security releases as documented in the Node.js March 2026 Security Update.

Workarounds

  • Implement strict payload size limits for JSON request bodies (e.g., maximum 1MB)
  • Use a Web Application Firewall (WAF) to filter requests with suspicious JSON patterns
  • Deploy request timeout mechanisms to terminate slow JSON parsing operations
  • Consider using a reverse proxy to implement rate limiting before requests reach Node.js
bash
# Configuration example
# Example nginx configuration to limit request body size
client_max_body_size 1m;

# Rate limiting configuration
limit_req_zone $binary_remote_addr zone=json_limit:10m rate=10r/s;

location /api/ {
    limit_req zone=json_limit burst=20 nodelay;
    proxy_pass http://nodejs_backend;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechNode Js

  • SeverityMEDIUM

  • CVSS Score5.9

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • Technical References
  • Node.js March 2026 Security Update
  • Related CVEs
  • CVE-2025-59464: Node.js OpenSSL Memory Leak DoS Vulnerability

  • CVE-2024-22025: Node.js fetch() DoS Vulnerability

  • CVE-2025-53620: Qwik City DoS Vulnerability

  • CVE-2025-23166: Node.js Runtime Denial of Service Flaw
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English