Creation of chroot Jail Without Changing Working Directory in Node.js - CVE-2026-21717

 

Creation of chroot Jail Without Changing Working Directory in Node.js - CVE-2026-21717

Published: March 25, 2026


Vulnerability identifier: #VU124547
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-21717
CWE-ID: CWE-243
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 predictable hash collisions in V8's string hashing mechanism when processing integer-like strings. A remote attacker can craft input with many colliding keys, degrading performance during JSON.parse() or other operations that internalize strings.

The most common trigger is endpoints parsing attacker-controlled JSON, leading to significant CPU and memory usage.


Affected software

Node.js
Debian Linux
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server for SAP Applications 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 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise High Performance Computing 12
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
Web and Scripting Module
openSUSE Leap
openEuler
Fedora
IBM Business Automation Workflow
npm
v8-devel
nodejs18-docs
nodejs18
nodejs18-debuginfo
npm18
nodejs18-devel
nodejs18-debugsource
corepack18
nodejs-docs
nodejs
nodejs-debuginfo
nodejs-debugsource
nodejs-devel
nodejs-full-i18n
nodejs-libs
nodejs (Debian package)
nodejs20
nodejs20-docs
nodejs20-debuginfo
nodejs20-devel
corepack20
nodejs20-debugsource
npm20
nodejs22
nodejs22-debuginfo
npm22
nodejs22-devel
nodejs22-debugsource
corepack22
nodejs22-docs
nodejs24 (Red Hat package)
nodejs24-devel
nodejs24-docs
nodejs24-debugsource
nodejs24
nodejs24-debuginfo
npm24

How to mitigate CVE-2026-21717

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
npm - update to 10.8.2-1.20.18.2.7
v8-devel - update to 11.3.244.8-1.20.18.2.7
nodejs18-docs - 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
nodejs18-debuginfo - 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
nodejs18-debugsource - 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-docs - update to 20.18.2-7
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-libs - update to 20.18.2-7
nodejs (Debian package) - update to 20.19.2+dfsg-1+deb13u2
nodejs20 - addressed in versions 20.20.2-3.fc43, 20.20.2-3.fc44, 20.20.2-4.fc42
nodejs20-docs - 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 - 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
nodejs22 - addressed in versions 22.22.2-2.fc43, 22.22.2-3.fc42, 22.22.2-3.fc44
nodejs22-debuginfo - 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
nodejs22-devel - 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
nodejs22 - 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-docs - 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-devel - update to 24.14.1-150700.15.8.1
nodejs24-docs - update to 24.14.1-150700.15.8.1
nodejs24-debugsource - update to 24.14.1-150700.15.8.1
nodejs24 - 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

External References

Related Security Bulletins