CVE
CVE-2026-21710
CNA 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 versions
- ≥ 25.0.0, ≤ 25.8.1Affected up to 25.8.1 — see vendor advisory
- ≥ 24.0.0, ≤ 24.14.0Affected up to 24.14.0 — see vendor advisory
- ≥ 22.0.0, ≤ 22.22.1Affected up to 22.22.1 — see vendor advisory
- ≤ 20.20.1Affected up to 20.20.1 — see vendor advisory
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- 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
- access.redhat.com/errata/RHSA-2026:8339 · Third Party Advisory
- access.redhat.com/errata/RHSA-2026:9711 · Third Party Advisory
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.