CVE-2026-21710: Vulnerability in nodejs node
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**
AI Analysis
Technical Summary
CVE-2026-21710 is a denial of service vulnerability in Node.js HTTP servers caused by improper handling of a request header named '__proto__'. When an application accesses req.headersDistinct, the '__proto__' property resolves to Object.prototype instead of undefined, causing a push operation on a non-array and throwing a synchronous TypeError. This exception occurs inside a property getter and cannot be intercepted by error event listeners, requiring try/catch around every access to req.headersDistinct to handle it. The vulnerability affects Node.js versions 20.x, 22.x, 24.x, and 25.x. Red Hat has published advisories and errata addressing this issue with updated packages for affected distributions.
Potential Impact
The vulnerability results in a denial of service condition by causing the Node.js HTTP server to throw an uncaught synchronous TypeError when processing specially crafted HTTP requests with a '__proto__' header. This disrupts normal server operation and cannot be handled by typical error event listeners, potentially causing application crashes or service interruptions. There is no indication of confidentiality or integrity impact.
Mitigation Recommendations
Red Hat has released security updates addressing this vulnerability in their Node.js packages. Applying the official patches from Red Hat advisories (e.g., RHSA-2026:7310 and related errata) will remediate the issue. Until patched, applications can mitigate the impact by wrapping all accesses to req.headersDistinct in try/catch blocks, though this is a workaround rather than a full fix. Users should consult the Red Hat advisories for detailed update instructions and apply the updates promptly.
CVE-2026-21710: Vulnerability in nodejs node
Description
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**
CVSS v3.0
Score 7.5high
Affected software
pkg:npm/nodeRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-21710 is a denial of service vulnerability in Node.js HTTP servers caused by improper handling of a request header named '__proto__'. When an application accesses req.headersDistinct, the '__proto__' property resolves to Object.prototype instead of undefined, causing a push operation on a non-array and throwing a synchronous TypeError. This exception occurs inside a property getter and cannot be intercepted by error event listeners, requiring try/catch around every access to req.headersDistinct to handle it. The vulnerability affects Node.js versions 20.x, 22.x, 24.x, and 25.x. Red Hat has published advisories and errata addressing this issue with updated packages for affected distributions.
Potential Impact
The vulnerability results in a denial of service condition by causing the Node.js HTTP server to throw an uncaught synchronous TypeError when processing specially crafted HTTP requests with a '__proto__' header. This disrupts normal server operation and cannot be handled by typical error event listeners, potentially causing application crashes or service interruptions. There is no indication of confidentiality or integrity impact.
Mitigation Recommendations
Red Hat has released security updates addressing this vulnerability in their Node.js packages. Applying the official patches from Red Hat advisories (e.g., RHSA-2026:7310 and related errata) will remediate the issue. Until patched, applications can mitigate the impact by wrapping all accesses to req.headersDistinct in try/catch blocks, though this is a workaround rather than a full fix. Users should consult the Red Hat advisories for detailed update instructions and apply the updates promptly.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- hackerone
- Date Reserved
- 2026-01-04T15:00:06.574Z
- Cvss Version
- 3.0
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-21710","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:7310","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:7080","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:7675","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:8339","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:7123","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:7670","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:9711","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:9874","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:7983","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:7896","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:7302","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:7350","vendor":"Red Hat"}]
Threat ID: 69cacda7e6bfc5ba1d6188a2
Added to database: 03/30/2026, 19:23:19 UTC
Last enriched: 07/15/2026, 08:32:30 UTC
Last updated: 07/31/2026, 19:22:57 UTC
Views: 128
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.