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-21710

CVE-2026-21710: Node.js HTTP DOS Vulnerability

CVE-2026-21710 is a denial of service flaw in Node.js HTTP servers that causes uncaught TypeError when __proto__ headers are processed. This article covers the technical details, affected versions, impact, and mitigation.

Published: April 2, 2026

CVE-2026-21710 Overview

A flaw in Node.js HTTP request handling causes an uncaught TypeError when a request is received with a header named __proto__ and the application accesses req.headersDistinct. When this occurs, dest["__proto__"] resolves to Object.prototype rather than undefined, causing .push() to be called on a non-array. This exception is thrown synchronously inside a property getter and cannot be intercepted by error event listeners, meaning it cannot be handled without wrapping every req.headersDistinct access in a try/catch.

Critical Impact

Remote attackers can crash Node.js HTTP servers by sending specially crafted requests with a __proto__ header, causing unhandled exceptions that terminate the application process.

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-21710 published to NVD
  • 2026-04-01 - Last updated in NVD database

Technical Details for CVE-2026-21710

Vulnerability Analysis

This vulnerability exploits JavaScript's prototype chain behavior when handling HTTP headers in Node.js. The headersDistinct property getter processes incoming HTTP headers and stores them in a destination object. When a request contains a header named __proto__, the code attempts to access dest["__proto__"], which resolves to Object.prototype instead of undefined due to JavaScript's prototype inheritance model.

The core issue stems from improper handling of special property names in JavaScript. Since __proto__ is a special accessor property on all objects that references the object's prototype, accessing it returns the Object.prototype object rather than the expected header array. When the code subsequently calls .push() on this value expecting an array, it triggers a TypeError because Object.prototype does not have a push method.

This vulnerability is classified as CWE-770 (Allocation of Resources Without Limits or Throttling), as it allows resource exhaustion through application termination. The synchronous nature of the exception within a property getter makes it particularly dangerous because standard Node.js error handling patterns using event listeners cannot intercept it.

Root Cause

The root cause is a prototype pollution vector in the HTTP header parsing logic. The headersDistinct property getter fails to properly sanitize or validate header names before using them as object property keys. When the special __proto__ property name is used as a header, the JavaScript engine's prototype chain lookup behavior causes unexpected object resolution, leading to a type mismatch when array methods are invoked on the prototype object.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability by sending a malicious HTTP request to any Node.js HTTP server running an affected version. The request simply needs to include a header with the name __proto__. When the server application accesses req.headersDistinct (a common operation for header inspection), the uncaught exception crashes the server.

The vulnerability is particularly severe because:

  • It affects all Node.js HTTP servers on vulnerable versions
  • The exception cannot be caught using standard Node.js error handling patterns
  • Only wrapping every req.headersDistinct access in try/catch provides protection
  • A single malicious request can terminate the entire server process

Detection Methods for CVE-2026-21710

Indicators of Compromise

  • HTTP requests containing headers with the name __proto__ or similar prototype-polluting property names
  • Unexpected Node.js process crashes with TypeError stack traces referencing headersDistinct
  • Application logs showing uncaught exceptions related to .push() method calls on non-array objects
  • Repeated server restarts or process manager (PM2, systemd) restart events

Detection Strategies

  • Implement web application firewall (WAF) rules to block HTTP requests containing __proto__ in header names
  • Monitor Node.js application logs for TypeError exceptions mentioning headersDistinct or prototype-related errors
  • Deploy network intrusion detection rules to identify malicious header patterns in HTTP traffic
  • Configure application performance monitoring to alert on sudden process terminations

Monitoring Recommendations

  • Enable verbose logging for HTTP request headers at the load balancer or reverse proxy level
  • Set up process crash alerting through container orchestration or process managers
  • Monitor for unusual patterns of rapid server restarts that may indicate exploitation attempts
  • Implement request rate limiting to reduce the impact of denial-of-service attacks

How to Mitigate CVE-2026-21710

Immediate Actions Required

  • Update Node.js to the latest patched version for your release line (20.x, 22.x, 24.x, or 25.x)
  • Implement reverse proxy filtering to block requests with __proto__ headers before they reach Node.js
  • Wrap all req.headersDistinct accesses in try/catch blocks as a temporary workaround
  • Review application code for other potential prototype pollution entry points

Patch Information

Node.js has released security updates addressing this vulnerability in March 2026. Refer to the Node.js March 2026 Security Release for specific version numbers and download links. Organizations should prioritize updating to the patched versions immediately given the ease of exploitation and high availability impact.

Workarounds

  • Deploy a reverse proxy (nginx, HAProxy) or WAF configured to reject requests containing __proto__ headers
  • Wrap all req.headersDistinct property accesses in try/catch blocks to prevent unhandled exceptions
  • Implement process restart automation using tools like PM2 or systemd to minimize downtime during attacks
  • Consider rate limiting at the network edge to reduce the effectiveness of denial-of-service attempts
bash
# Nginx configuration to block __proto__ headers
# Add to server or location block
if ($http___proto__ != "") {
    return 400;
}

# Alternative: Use map directive for more complex filtering
map $http___proto__ $block_proto {
    default 0;
    "~." 1;
}

server {
    if ($block_proto) {
        return 400 "Bad Request";
    }
}

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechNodejs

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-770
  • Technical References
  • Node.js March 2026 Security Release
  • Related CVEs
  • CVE-2026-21712: Node.js URL Processing DoS Vulnerability

  • CVE-2026-21714: Node.js HTTP/2 Memory Leak DoS Vulnerability

  • CVE-2026-1526: Undici WebSocket Client DoS Vulnerability

  • CVE-2026-25547: @isaacs/brace-expansion DoS Vulnerability
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