Improper error handling in Node.js - CVE-2026-21710

 

Improper error handling in Node.js - CVE-2026-21710

Published: March 25, 2026


Vulnerability identifier: #VU124542
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-21710
CWE-ID: CWE-388
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to improper handling of special property names in HTTP headers in req.headersDistinct when parsing incoming HTTP requests. A remote attacker can send a request with a header named __proto__ to trigger a TypeError when the application accesses req.headersDistinct, crashing the Node.js process.

The exception occurs synchronously in a property getter and cannot be caught without wrapping every access in try/catch.


Affected software

Node.js
Debian Linux
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
Anolis OS
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Web and Scripting Module
openSUSE Leap
openEuler
Fedora
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
nodejs-nodemon
npm
nodejs-npm
v8-devel
v8-12.4-devel
nodejs (Debian package)
nodejs
nodejs-debuginfo
nodejs-debugsource
nodejs-devel
nodejs-full-i18n
nodejs-docs
nodejs-libs
nodejs20
nodejs20-debuginfo
nodejs20-devel
corepack20
nodejs20-debugsource
npm20
nodejs20-docs
nodejs22 (Red Hat package)
nodejs22
nodejs22-docs
nodejs22-debuginfo
nodejs22-devel
corepack22
nodejs22-debugsource
npm22
nodejs24 (Red Hat package)
nodejs24-debuginfo
npm24
nodejs24
nodejs24-debugsource
nodejs24-devel
nodejs24-docs
nodejs-packaging-bundler
nodejs-packaging
IBM Business Automation Workflow

How to mitigate CVE-2026-21710

Install security update from vendor's website.

Node.js - addressed in versions 20.20.2, 22.22.2, 24.14.1, 25.8.2
IBM Business Automation Workflow - addressed in versions 24.0.0-IF009, 24.0.1-IF008, 25.0.0-IF005, 26.0.0.0
nodejs-nodemon - update to 3.0.1-1
npm - update to 10.8.2-1.20.18.2.7
npm - update to 10.8.2-1.20.20.2.1
nodejs-npm - update to 10.9.4-1.22.22.0.2
v8-devel - update to 11.3.244.8-1.20.18.2.7
v8-12.4-devel - update to 12.4.254.21-1.22.22.0.2
nodejs (Debian package) - addressed in versions 18.20.4+dfsg-1~deb12u2, 20.19.2+dfsg-1+deb13u2
nodejs - update to 20.18.2-7
nodejs-debuginfo - update to 20.18.2-7
nodejs-debugsource - update to 20.18.2-7
nodejs-devel - update to 20.18.2-7
nodejs-full-i18n - update to 20.18.2-7
nodejs-docs - update to 20.18.2-7
nodejs-libs - update to 20.18.2-7
nodejs - addressed in versions 20.20.2-1, 22.22.0-2
nodejs-devel - addressed in versions 20.20.2-1, 22.22.0-2
nodejs-full-i18n - addressed in versions 20.20.2-1, 22.22.0-2
nodejs-docs - addressed in versions 20.20.2-1, 22.22.0-2
nodejs20 - addressed in versions 20.20.2-3.fc43, 20.20.2-3.fc44, 20.20.2-4.fc42
nodejs20 - addressed in versions 20.20.2-150500.11.27.1, 20.20.2-150600.3.18.1
nodejs20-debuginfo - addressed in versions 20.20.2-150500.11.27.1, 20.20.2-150600.3.18.1
nodejs20-devel - addressed in versions 20.20.2-150500.11.27.1, 20.20.2-150600.3.18.1
corepack20 - addressed in versions 20.20.2-150500.11.27.1, 20.20.2-150600.3.18.1
nodejs20-debugsource - addressed in versions 20.20.2-150500.11.27.1, 20.20.2-150600.3.18.1
npm20 - addressed in versions 20.20.2-150500.11.27.1, 20.20.2-150600.3.18.1
nodejs20-docs - addressed in versions 20.20.2-150500.11.27.1, 20.20.2-150600.3.18.1
nodejs-libs - update to 22.22.0-2
nodejs22 (Red Hat package) - addressed in versions 22.22.2-1.el10_1, 22.22.2-2.el10_0
nodejs22 - addressed in versions 22.22.2-2.fc43, 22.22.2-3.fc42, 22.22.2-3.fc44
nodejs22-docs - addressed in versions 22.22.2-150600.13.15.1, 22.22.2-150700.3.9.1
nodejs22-debuginfo - addressed in versions 22.22.2-150600.13.15.1, 22.22.2-150700.3.9.1
nodejs22-devel - addressed in versions 22.22.2-150600.13.15.1, 22.22.2-150700.3.9.1
corepack22 - update to 22.22.2-150600.13.15.1
nodejs22 - addressed in versions 22.22.2-150600.13.15.1, 22.22.2-150700.3.9.1
nodejs22-debugsource - addressed in versions 22.22.2-150600.13.15.1, 22.22.2-150700.3.9.1
npm22 - addressed in versions 22.22.2-150600.13.15.1, 22.22.2-150700.3.9.1
nodejs24 (Red Hat package) - update to 24.14.1-2.el10_1
nodejs24-debuginfo - update to 24.14.1-150700.15.8.1
npm24 - update to 24.14.1-150700.15.8.1
nodejs24 - update to 24.14.1-150700.15.8.1
nodejs24-debugsource - update to 24.14.1-150700.15.8.1
nodejs24-devel - update to 24.14.1-150700.15.8.1
nodejs24-docs - update to 24.14.1-150700.15.8.1
nodejs-packaging-bundler - update to 2021.06-6
nodejs-packaging - update to 2021.06-6

External References

Related Security Bulletins