CVE-2026-21710

HIGH

Node.js 18.* - DoS

Title source: llm

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

Exploits (1)

nomisec WORKING POC
by dajneem23 · poc
https://github.com/dajneem23/CVE-2026-21710

Scores

CVSS v3 7.5
EPSS 0.0003
EPSS Percentile 8.1%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-770
Status published
Products (20)
nodejs/node 10.0 - 10.*
nodejs/node 11.0 - 11.*
nodejs/node 12.0 - 12.*
nodejs/node 13.0 - 13.*
nodejs/node 14.0 - 14.*
nodejs/node 15.0 - 15.*
nodejs/node 16.0 - 16.*
nodejs/node 17.0 - 17.*
nodejs/node 18.0 - 18.*
nodejs/node 19.0 - 19.*
... and 10 more
Published Mar 30, 2026
Tracked Since Mar 31, 2026