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 SP4
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 15 SP5
Debian Linux
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Anolis OS
Red Hat Enterprise Linux for ARM 64
Web and Scripting Module
openSUSE Leap
openEuler
Communications Unified Assurance
Visual Studio
IBM Business Automation Workflow
nodejs (Debian package)
nodejs-nodemon
npm
v8-devel
nodejs-npm
v8-12.4-devel
nodejs-docs
nodejs
nodejs-debuginfo
nodejs-libs
nodejs-full-i18n
nodejs-devel
nodejs-debugsource
nodejs16-docs
nodejs16-debuginfo
nodejs16-devel
npm16
nodejs16
nodejs16-debugsource
corepack16
nodejs18-docs
nodejs18-debugsource
nodejs18-debuginfo
nodejs18
npm18
nodejs18-devel
corepack18
nodejs20-debugsource
corepack20
nodejs20-docs
npm20
nodejs20-debuginfo
nodejs20-devel
nodejs20
nodejs22 (Red Hat package)
npm22
nodejs22-debugsource
nodejs22-devel
nodejs22
corepack22
nodejs22-debuginfo
nodejs22-docs
nodejs24 (Red Hat package)
nodejs24
nodejs24-debugsource
nodejs24-devel
nodejs24-docs
nodejs24-debuginfo
npm24
nodejs-packaging-bundler
nodejs-packaging

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 (Debian package) - addressed in versions 12.22.12~dfsg-1~deb11u8, 20.19.2+dfsg-1+deb13u1, 20.19.2+dfsg-1+deb13u2
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-docs - 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-debuginfo - 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-debugsource - addressed in versions 12.22.11-11, 12.22.11-13, 20.18.2-5
nodejs16-docs - update to 16.20.2-150400.3.42.1
nodejs16-debuginfo - update to 16.20.2-150400.3.42.1
nodejs16-devel - update to 16.20.2-150400.3.42.1
npm16 - update to 16.20.2-150400.3.42.1
nodejs16 - update to 16.20.2-150400.3.42.1
nodejs16-debugsource - update to 16.20.2-150400.3.42.1
corepack16 - update to 16.20.2-150400.3.42.1
nodejs18-docs - addressed in versions 18.20.8-8.44.1, 18.20.8-150400.9.39.1
nodejs18-debugsource - addressed in versions 18.20.8-8.44.1, 18.20.8-150400.9.39.1
nodejs18-debuginfo - addressed in versions 18.20.8-8.44.1, 18.20.8-150400.9.39.1
nodejs18 - addressed in versions 18.20.8-8.44.1, 18.20.8-150400.9.39.1
npm18 - addressed in versions 18.20.8-8.44.1, 18.20.8-150400.9.39.1
nodejs18-devel - addressed in versions 18.20.8-8.44.1, 18.20.8-150400.9.39.1
corepack18 - update to 18.20.8-150400.9.39.1
nodejs - 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-full-i18n - addressed in versions 20.20.0-1, 22.22.0-1
nodejs-docs - addressed in versions 20.20.0-1, 22.22.0-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
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
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
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
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
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 - 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
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
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
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 - 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
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
nodejs24 (Red Hat package) - addressed in versions 24.13.0-1.el10_1, 24.14.1-2.el10_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
nodejs24-debuginfo - update to 24.14.1-150700.15.8.1
npm24 - update to 24.14.1-150700.15.8.1
nodejs-packaging-bundler - update to 2021.06-5
nodejs-packaging - update to 2021.06-5

External References

Related Security Bulletins