CVE-2026-21710
JSON

7.5high

A flaw in Node.js HTTP request handling causes an uncaught TypeError when a request is received with a header named proto and the applicati…

Severity
7.5high CVSS:3.1 by redhat-SADP
Exploit likelihood
29.1% (higher than 98% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
hackerone
Also known as
BIT-NODE-2026-21710BIT-NODE-MIN-2026-21710

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

Affected

Product or packageVersionsReported by
nodejs nodefrom 20.20.1 up to 20.20.1, from 22.22.1 up to 22.22.1, from 24.14.0 up to 24.14.0, from 25.8.1 up to 25.8.1, from 4.0 before 4.*, from 5.0 before 5.*, from 6.0 before 6.*, from 7.0 before 7.* and 12 moreCVE List
nodejs22Not specified
Not affected: from 1:22.22.2-1.el10_1 before *, from 1:22.22.2-2.el10_0 before *
CVE List
nodejs24Not specified
Not affected: from 1:24.14.1-2.el10_1 before *
CVE List
nodejs:22Not specified
Not affected: from 8100020260331102257.6d880403 before *, from 9070020260401095228.rhel9 before *, from 9060020260409121057.rhel9 before *
CVE List
nodejs:24Not specified
Not affected: from 8100020260408131901.6d880403 before *, from 9070020260402152654.rhel9 before *
CVE List
nodejs:20Not specified
Not affected: from 8100020260414073138.489197e6 before *, from 9070020260409073121.rhel9 before *, from 9040020260421133644.rhel9 before *, from 9060020260422064119.rhel9 before *
CVE List
nodejs node.jsup to 20.20.1, from 22.0.0 up to 22.22.1, from 24.0.0 up to 24.14.0, from 25.0.0 up to 25.8.1NVD
redhat enterprise_linux8.0, 9.0, 10.0NVD
redhat enterprise_linux_eus9.4, 9.6, 10.0NVD
node (Bitnami)before 20.20.2, from 21.0.0 before 22.22.2, from 23.0.0 before 24.14.1, from 25.0.0 before 25.8.2Bitnami Vulnerability Database
node-min (Bitnami)before 20.20.2, from 21.0.0 before 22.22.2, from 23.0.0 before 24.14.1, from 25.0.0 before 25.8.2Bitnami Vulnerability Database

All scores

hackerone7.5high CVSS:3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
redhat-SADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-770CWE-843

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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

NVD (es)

Un fallo en el manejo de solicitudes HTTP de Node.js provoca un 'TypeError' no capturado cuando se recibe una solicitud con un encabezado llamado '__proto__' y la aplicación accede a 'req.headersDistinct'. Cuando esto ocurre, 'dest["__proto__"]' se resuelve como 'Object.prototype' en lugar de 'undefined', lo que provoca que se llame a '.push()' en un no-array. Esta excepción se lanza sincrónicamente dentro de un accesor de propiedad y no puede ser interceptada por los oyentes de eventos 'error', lo que significa que no puede ser manejada sin envolver cada acceso a 'req.headersDistinct' en un 'try/catch'. * Esta vulnerabilidad afecta a todos los servidores HTTP de Node.js en 20.x, 22.x, 24.x y v25.x

References

https://nodejs.org/en/blog/vulnerability/march-2026-security-releasesadvisory, vendor-advisory
https://access.redhat.com/security/cve/CVE-2026-21710advisory, third-party-advisory, vdb-entry
https://bugzilla.redhat.com/show_bug.cgi?id=2453151issue-tracking, report
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-21710.jsonadvisory, third-party-advisory
https://access.redhat.com/errata/RHSA-2026:7310advisory, third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2026:7080advisory, third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2026:7675advisory, third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2026:8339advisory, third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2026:7123advisory, third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2026:7670advisory, third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2026:9711advisory, third-party-advisory, vendor-advisory
https://access.redhat.com/errata/RHSA-2026:9874advisory, third-party-advisory, vendor-advisory

Sources

SourceRecordLicence
CVE ListCVE-2026-21710 changed 2026-07-15CVE Terms of Use
NVDCVE-2026-21710 changed 2026-08-19Public domain
Bitnami Vulnerability DatabaseBIT-NODE-2026-21710 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-NODE-MIN-2026-21710 changed 2026-09-08Apache-2.0