CVE-2026-21716 json
An incomplete fix for CVE-2024-36137 leaves `FileHandle.chmod()` and `FileHandle.chown()` in the promises API without the required permissi…
published 2026-03-30 7 mo ago modified 2026-09-08 2 mo ago also BIT-node-2026-21716 , BIT-node-min-2026-21716 , EUVD-2026-17180
- cvss
- 3.3
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.1%
- EPSS 0.1% chance of exploitation in 30 days, percentile 3%
- public exploits
- 0
- none known
Summary
An incomplete fix for CVE-2024-36137 leaves `FileHandle.chmod()` and `FileHandle.chown()` in the promises API without the required permission checks, while their callback-based equivalents (`fs.fchmod()`, `fs.fchown()`) were correctly patched.
As a result, code running under `--permission` with restricted `--allow-fs-write` can still use promise-based `FileHandle` methods to modify file permissions and ownership on already-open file descriptors, bypassing the intended write restrictions.
This vulnerability affects **20.x, 22.x, 24.x, and 25.x** processes using the Permission Model where `--allow-fs-write` is intentionally restricted.
Patch / fix
- bitnami node 20.20.2, 22.22.2, 24.14.1, 25.8.2
- bitnami node-min 20.20.2, 22.22.2, 24.14.1, 25.8.2
- nodejs node.js 20.20.2, 22.22.2, 24.14.1, 25.8.2
- nodejs Debian 13 20.19.2+dfsg-1+deb13u2
- nodejs Debian 14 22.22.2+dfsg+~cs22.19.15-1
debian advisories DEBIAN-CVE-2026-21716
- nodejs20 hummingbird 1 20.20.0-7.1.hum1
- nodejs20-bin hummingbird 1 20.20.0-7.1.hum1
- nodejs20-npm hummingbird 1 10.8.2-1.20.20.0.7.1.hum1
- nodejs20-libs hummingbird 1 20.20.0-7.1.hum1
- nodejs20-npm-bin hummingbird 1 20.20.0-7.1.hum1
- nodejs20-full-i18n hummingbird 1 20.20.0-7.1.hum1
- nodejs22 hummingbird 1 22.22.0-1.3.hum1
- nodejs22-bin hummingbird 1 22.22.0-1.3.hum1
red hat advisories RHSA-2026:7386RHSA-2026:7387RHSA-2026:6431RHSA-2026:6402RHSA-2026:7675RHSA-2026:7670
- nodejs22 SLES for SAP applications 16.0, SLES 16.0 22.23.0-160000.1.1
- nodejs22 SLE Module for Web and Scripting 15 SP7 22.22.2-150700.3.9.1
- nodejs20 SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE High Performance Computing 15 SP5-LTSS +1 more 20.20.2-150500.11.27.1
- nodejs24 SLE Module for Web and Scripting 15 SP7 24.14.1-150700.15.8.1
- nodejs24 SLES for SAP applications 16.0, SLES 16.0 24.14.1-160000.1.1
- nodejs22 SLES for SAP 15 SP6, SLES 15 SP6-LTSS 22.22.2-150600.13.15.1
- nodejs20 SLES for SAP 15 SP6, SLES 15 SP6-LTSS 20.20.2-150600.3.18.1
suse advisories SUSE-SU-2026:22368-1SUSE-SU-2026:1509-1SUSE-SU-2026:1478-1SUSE-SU-2026:1371-1SUSE-SU-2026:1363-1SUSE-SU-2026:1299-1
- nodejs22 openSUSE Leap 16.0 22.23.0-160000.1.1
- nodejs26 openSUSE Tumbleweed 26.3.1-1.1
- nodejs24 openSUSE Leap 16.0 24.14.1-160000.1.1
- nodejs24 openSUSE Tumbleweed 24.14.1-1.1
opensuse advisories openSUSE-SU-2026:21058-1openSUSE-SU-2026:11110-1openSUSE-SU-2026:20519-1openSUSE-SU-2026:10504-1
- npm AlmaLinux 8 1:11.11.0-1.24.14.1.2.module_el8.10.0+4160+4819ac42
- nodejs AlmaLinux 8 1:24.14.1-2.module_el8.10.0+4160+4819ac42
- nodejs-libs AlmaLinux 8 1:24.14.1-2.module_el8.10.0+4160+4819ac42
- nodejs-nodemon AlmaLinux 8 3.0.3-1.module_el8.10.0+4061+f8ceeab9
- nodejs-full-i18n AlmaLinux 8 1:24.14.1-2.module_el8.10.0+4160+4819ac42
- nodejs-packaging AlmaLinux 8 2021.06-6.module_el8.10.0+4086+70facd4a
- nodejs-packaging-bundler AlmaLinux 8 2021.06-6.module_el8.10.0+4086+70facd4a
- nodejs24-npm AlmaLinux 10 1:11.11.0-1.24.14.1.2.el10_1
almalinux advisories ALSA-2026:7670ALSA-2026:7675ALSA-2026:7350
- nodejs24 Rocky Linux 10 1:24.14.1-2.el10_1
- nodejs-nodemon Rocky Linux 8 3.0.3-1.module+el8.10.0+2084+ab509703
- nodejs-packaging Rocky Linux 8 2021.06-6.module+el8.10.0+40048+6d99f608
- nodejs-nodemon Rocky Linux 9 3.0.3-3.module+el9.7.0+40025+0e0cf6b2
- nodejs-packaging Rocky Linux 9 2021.06-6.module+el9.7.0+40052+e32ea525
rocky linux advisories RLSA-2026:7675RLSA-2026:7670RLSA-2026:7350
- nodejs Alpine 3.22, Alpine 3.21 22.22.2-r0
- nodejs Alpine 3.24, Alpine 3.23 24.14.1-r0
alpine advisories ALPINE-CVE-2026-21716
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- nodejs Azure Linux 3.0 20.14.0-15
- nodejs24 Azure Linux 3.0 24.14.1-1
azure linux advisories AZL-81236AZL-81254
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-21716 updated cvss 3.8
nodejs: Node.js: Permission bypass allows unauthorized modification of file permissions and ownership via incomplete security fix.
-
Red Hat Enterprise Linux 8 npm, nodejs, nodejs-libs, nodejs-nodemon, nodejs-full-i18n, nodejs-packaging, +1 more Red Hat Enterprise Linux 9 npm, nodejs, nodejs-libs, nodejs-full-i18n Red Hat Enterprise Linux 10 nodejs22affected: workaround, no fix available “Fix deferred”
-
Red Hat Enterprise Linux AppStream (v. 8) nodejs 24.14.1-2.module+el8.10.0+24190+49a46c75, nodejs-libs 24.14.1-2.module+el8.10.0+24190+49a46c75, nodejs-nodemon 3.0.3-1.module+el8.10.0+24190+49a46c75, npm 11.11.0-1.24.14.1.2.module+el8.10.0+24190+49a46c75, nodejs-full-i18n 24.14.1-2.module+el8.10.0+24190+49a46c75, nodejs-packaging 2021.06-6.module+el8.10.0+24190+49a46c75, +1 morefixed: vendor fix RHSA-2026:7670
-
Red Hat Enterprise Linux AppStream (v. 9) nodejs 24.14.1-2.module+el9.7.0+24166+51c9666b, nodejs-libs 24.14.1-2.module+el9.7.0+24166+51c9666b, nodejs-nodemon 3.0.3-3.module+el9.7.0+24166+51c9666b, npm 11.11.0-1.24.14.1.2.module+el9.7.0+24166+51c9666b, nodejs-full-i18n 24.14.1-2.module+el9.7.0+24166+51c9666b, nodejs-packaging 2021.06-6.module+el9.7.0+24166+51c9666b, +1 morefixed: vendor fix RHSA-2026:7350
-
Red Hat Enterprise Linux AppStream (v. 10) nodejs24 24.14.1-2.el10_1, nodejs24-libs 24.14.1-2.el10_1, nodejs24-full-i18n 24.14.1-2.el10_1, nodejs24-npm 11.11.0-1.24.14.1.2.el10_1fixed: vendor fix RHSA-2026:7675
-
Red Hat Hardened Images nodejs25 25.9.0-1.hum1, nodejs24 24.14.1-4.hum1, nodejs20 20.20.0-7.1.hum1, nodejs22 22.22.0-1.3.hum1, nodejs25-bin 25.9.0-1.hum1, nodejs24-bin 24.14.1-4.hum1, +18 morefixed: vendor fix RHSA-2026:7386
-
Red Hat Hardened Images v8-14.1-devel 14.1.146.11-1.25.9.0.1.hum1, v8-13.6-devel 13.6.233.17-1.24.14.1.4.hum1, v8-11.3-devel 11.3.244.8-1.20.20.0.7.1.hum1, v8-12.4-devel 12.4.254.21-1.22.22.0.1.3.hum1not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 7 mo ago
Exploit prediction
0.14% chance of exploitation in the next 30 days, higher than 3% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 3.3 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| OSV | 3.0 | 3.3 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | node | <20.20.2 >=21.0.0, <22.22.2 >=23.0.0, <24.14.1 >=25.0.0, <25.8.2 |
20.20.2 22.22.2 24.14.1 25.8.2 |
| bitnami | node-min | <20.20.2 >=21.0.0, <22.22.2 >=23.0.0, <24.14.1 >=25.0.0, <25.8.2 |
20.20.2 22.22.2 24.14.1 25.8.2 |
Affected products
- nodejs node
Classification
- Weakness
-
- CWE-862 Missing Authorization
- Technology feeds
References
-
nodejs.org
/en/blog/vulnerability/march-2026-security-releases
vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-21716
web
Sources
- CVE List CVE-2026-21716
- NVD CVE-2026-21716
- OSV BIT-node-2026-21716
- OSV BIT-node-min-2026-21716
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.