Resource exhaustion in Node.js Node
CVE-2026-21710
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**
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.254, 98.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Node.js Node — versions 20.20.1, 22.22.1, 24.14.0
- Node.js
- Red Hat Enterprise Linux — versions 10.0, 8.0, 9.0
- Red Hat Enterprise Linux Eus — versions 10.0, 9.4, 9.6
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- dajneem23/CVE-2026-21710 (last pushed 2026-04-01)
- open-flaw/CVE-2026-21710 (last pushed 2026-04-01)
References
- nodejs.org/en/blog/vulnerability/march-2026-security-releases (Vendor Advisory)
- access.redhat.com/errata/RHSA-2026:7080 (Third Party Advisory)
- access.redhat.com/errata/RHSA-2026:7123 (Third Party Advisory)
- access.redhat.com/errata/RHSA-2026:7302 (Third Party Advisory)
- access.redhat.com/errata/RHSA-2026:7310 (Third Party Advisory)
- access.redhat.com/errata/RHSA-2026:7350 (Third Party Advisory)
- access.redhat.com/errata/RHSA-2026:7670 (Third Party Advisory)
- access.redhat.com/errata/RHSA-2026:7675 (Third Party Advisory)
- access.redhat.com/errata/RHSA-2026:7896 (Third Party Advisory)
- access.redhat.com/errata/RHSA-2026:7983 (Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.