Path manipulation in Node.js - CVE-2026-21637

 

Path manipulation in Node.js - CVE-2026-21637

Published: March 25, 2026 / Updated: April 17, 2026


Vulnerability identifier: #VU124541
CSH Severity: High
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-21637
CWE-ID: CWE-249
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 error handling in _tls_wrap.js when processing TLS SNI handshake requests. A remote attacker can send a specially crafted request with unexpected servername input to cause an uncaught exception, crashing the Node.js process.

Exploitation occurs during TLS handshake when SNICallback is configured and throws synchronously.


Affected software

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

How to mitigate CVE-2026-21637

Install security update from vendor's website.

Node.js - addressed in versions 20.20.0, 22.22.0, 24.13.0, 25.3.0
Visual Studio - addressed in versions 16.11.55, 17.12.19, 17.14.30
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 - addressed in versions 6.14.16-1.12.22.11.11, 6.14.16-1.12.22.11.13, 10.8.2-1.20.18.2.5
v8-devel - addressed in versions 7.8.279.23-1.12.22.11.11, 7.8.279.23-1.12.22.11.13, 11.3.244.8-1.20.18.2.5
npm - update to 10.8.2-1.20.20.0.1
nodejs-npm - update to 10.9.4-1.22.22.0.1
v8-12.4-devel - update to 12.4.254.21-1.22.22.0.1
nodejs-debugsource - addressed in versions 12.22.11-11, 12.22.11-13, 20.18.2-5
nodejs-docs - addressed in versions 12.22.11-11, 12.22.11-13, 20.18.2-5
nodejs-libs - addressed in versions 12.22.11-11, 12.22.11-13, 20.18.2-5
nodejs-full-i18n - addressed in versions 12.22.11-11, 12.22.11-13, 20.18.2-5
nodejs-devel - addressed in versions 12.22.11-11, 12.22.11-13, 20.18.2-5
nodejs-debuginfo - addressed in versions 12.22.11-11, 12.22.11-13, 20.18.2-5
nodejs - addressed in versions 12.22.11-11, 12.22.11-13, 20.18.2-5
nodejs (Debian package) - addressed in versions 20.19.2+dfsg-1+deb13u1, 20.19.2+dfsg-1+deb13u2
nodejs-full-i18n - addressed in versions 20.20.0-1, 22.22.0-1
nodejs-devel - addressed in versions 20.20.0-1, 22.22.0-1
nodejs-docs - addressed in versions 20.20.0-1, 22.22.0-1
nodejs - addressed in versions 20.20.0-1, 22.22.0-1
nodejs20-docs - addressed in versions 20.20.0-150500.11.24.1, 20.20.0-150600.3.15.1, 20.20.2-150500.11.27.1, 20.20.2-150600.3.18.1
nodejs20-debugsource - addressed in versions 20.20.0-150500.11.24.1, 20.20.0-150600.3.15.1, 20.20.2-150500.11.27.1, 20.20.2-150600.3.18.1
nodejs20 - addressed in versions 20.20.0-150500.11.24.1, 20.20.0-150600.3.15.1, 20.20.2-150500.11.27.1, 20.20.2-150600.3.18.1
nodejs20-devel - addressed in versions 20.20.0-150500.11.24.1, 20.20.0-150600.3.15.1, 20.20.2-150500.11.27.1, 20.20.2-150600.3.18.1
nodejs20-debuginfo - addressed in versions 20.20.0-150500.11.24.1, 20.20.0-150600.3.15.1, 20.20.2-150500.11.27.1, 20.20.2-150600.3.18.1
npm20 - addressed in versions 20.20.0-150500.11.24.1, 20.20.0-150600.3.15.1, 20.20.2-150500.11.27.1, 20.20.2-150600.3.18.1
corepack20 - addressed in versions 20.20.0-150500.11.24.1, 20.20.0-150600.3.15.1, 20.20.2-150500.11.27.1, 20.20.2-150600.3.18.1
nodejs-libs - update to 22.22.0-1
nodejs22 (Red Hat package) - update to 22.22.0-3.el10_1
nodejs22-debuginfo - addressed in versions 22.22.0-150600.13.12.1, 22.22.0-150700.3.6.1, 22.22.2-150600.13.15.1, 22.22.2-150700.3.9.1
nodejs22-docs - addressed in versions 22.22.0-150600.13.12.1, 22.22.0-150700.3.6.1, 22.22.2-150600.13.15.1, 22.22.2-150700.3.9.1
nodejs22 - addressed in versions 22.22.0-150600.13.12.1, 22.22.0-150700.3.6.1, 22.22.2-150600.13.15.1, 22.22.2-150700.3.9.1
nodejs22-devel - addressed in versions 22.22.0-150600.13.12.1, 22.22.0-150700.3.6.1, 22.22.2-150600.13.15.1, 22.22.2-150700.3.9.1
nodejs22-debugsource - addressed in versions 22.22.0-150600.13.12.1, 22.22.0-150700.3.6.1, 22.22.2-150600.13.15.1, 22.22.2-150700.3.9.1
npm22 - addressed in versions 22.22.0-150600.13.12.1, 22.22.0-150700.3.6.1, 22.22.2-150600.13.15.1, 22.22.2-150700.3.9.1
corepack22 - addressed in versions 22.22.0-150600.13.12.1, 22.22.2-150600.13.15.1
nodejs24 (Red Hat package) - addressed in versions 24.13.0-1.el10_1, 24.14.1-2.el10_1
nodejs24-debugsource - update to 24.14.1-150700.15.8.1
npm24 - update to 24.14.1-150700.15.8.1
nodejs24-debuginfo - update to 24.14.1-150700.15.8.1
nodejs24 - 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 - update to 2021.06-5
nodejs-packaging-bundler - update to 2021.06-5

External References

Related Security Bulletins