Appsecure logo

CVE-2026-21710: High Vulnerability in Node.js HTTP Request Handling

A high-severity vulnerability has been identified in Node.js HTTP request handling that can result in an uncaught TypeError. Organizations using affected versions should prioritize remediation to mitigate risks.

HIGHPublic ExploitCVSS 7.5 · Published March 30, 2026

Not a customer? See how AppSecure simulates real world attacks to protect your infrastructure.

Speak to Experts

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`. This vulnerability affects all Node.js HTTP servers on **20.x, 22.x, 24.x, and v25.x**.

The CVSS score for this vulnerability is 7.5, classifying it as high severity. The potential impact on availability is significant, as an attacker could exploit this flaw to crash the application, leading to service interruptions. Organizations utilizing affected Node.js versions should take immediate action to mitigate risks associated with this vulnerability.

As the vulnerability status is currently marked as 'Awaiting Analysis', organizations should monitor for updates regarding patches or mitigations. The urgency of addressing this vulnerability is high, as the availability impact could affect business continuity.

Organizations should prioritize patching immediately. Implementation of security controls and monitoring for potential exploits is also advised while waiting for an official patch.

Vulnerability Details

The vulnerability arises from improper handling of HTTP request headers in Node.js, specifically when a header named `__proto__` is received. This affects the `req.headersDistinct` property, leading to a TypeError due to attempts to push to a non-array when the prototype object is accessed. The affected versions include all Node.js HTTP servers on 20.x, 22.x, 24.x, and v25.x.

The CVSS score of 7.5 indicates high severity, with the following metrics: Attack Vector (Network), Attack Complexity (Low), Privileges Required (None), User Interaction (None), and a significant Availability Impact (High).

Technical Analysis

The root cause of this vulnerability is the improper handling of the `__proto__` header, which leads to unintended resolutions within the property getter of `req.headersDistinct`. Consequently, this results in a synchronous TypeError that cannot be caught by standard error handling mechanisms. The attack vector is network-based, and there is no requirement for user interaction or elevated privileges for exploitation.

Threat actors can exploit this vulnerability without needing any special privileges, making it accessible for exploitation through network requests. The attack complexity is low, indicating that the flaw can be easily triggered under normal operational scenarios.

The impacts on confidentiality and integrity are minimal, but the high availability impact poses a significant risk to operational stability. Organizations must ensure that their Node.js HTTP servers are patched or appropriately mitigated against this vulnerability.

Risk & Impact Analysis

The real-world risk associated with CVE-2026-21710 includes potential service outages and disruptions due to the inability to handle specific HTTP requests effectively. Organizations relying on Node.js for critical services should assess their deployment environments and prepare for possible exploitation scenarios.

The blast radius for this vulnerability is extensive, as it could affect all applications utilizing vulnerable Node.js versions across various environments. This makes it crucial for organizations to prioritize this issue within their patch management cycles.

Given the CVSS score, organizations should address this vulnerability in their priority patch cycle. The potential for high availability impact necessitates swift action to ensure business continuity.

Signal

Status

Known Exploit

Yes

Public PoC

Yes

Actively Exploited

No

Ransomware Use

No

Affected Versions

The vulnerability affects all Node.js HTTP servers operating on versions 20.x, 22.x, 24.x, and 25.x. Organizations should ensure they are running patched versions to mitigate the risk associated with this vulnerability.

Mitigation & Remediation

Organizations should prioritize patching immediately by upgrading to the latest stable version of Node.js. If immediate patching is not possible, it is recommended to implement workarounds by wrapping every access to `req.headersDistinct` in a `try/catch` statement. Additionally, proper monitoring should be established to detect any anomalies in application behavior.

For further guidance on securing your applications, organizations can refer to our comprehensive resource on application security assessment.

Detection Guidance

Organizations should monitor logs for any abnormal request patterns, particularly those containing the `__proto__` header. Behavioral anomalies in the application that might indicate exploitation attempts should be detected and investigated promptly.

AppSecure Threat Intelligence Insight

The long-term significance of CVE-2026-21710 highlights the need for organizations to scrutinize their application handling of HTTP headers. This vulnerability represents a broader trend where improper handling of input can lead to unexpected behavior and potential security flaws.

Security teams should take lessons from this incident to reinforce their coding practices, ensuring that all inputs are validated and handled securely. Implementing strict controls on HTTP headers helps mitigate risks associated with similar vulnerabilities.

For additional insights on application security and effective testing strategies, organizations can explore our penetration testing methodology and vulnerability management program design for enhancing your security posture.

Incorporating these practices will provide a robust defense against potential threats and improve overall application security.

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

Latest CVEs. Recently published vulnerabilities from the NVD database.

View all vulnerabilities
CVE IDSeverity
CVE-2025-65418HIGH
CVE-2025-65417MEDIUM
CVE-2025-65416MEDIUM
CVE-2025-65415MEDIUM
CVE-2025-61314HIGH

Protect Your Business with Hacker-Focused Approach.