cve.bz

CVE-2026-21716 nodejs node.js: Missing Authorization

3.3 lowEPSS 0.1%

Low (3.3) in nodejs node.js. EPSS 0.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

3.3 low
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
EPSS
0.1% (unchanged from 0.1% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 4th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-03-31. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-862 Missing Authorization
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-21716 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-21716?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-21716?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-21716 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
nodejs nodefrom 20.20.1 through 20.20.1
nodejs nodefrom 22.22.1 through 22.22.1
nodejs nodefrom 24.14.0 through 24.14.0
nodejs nodefrom 25.8.1 through 25.8.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13nodejs20.19.2+dfsg-1+deb13u2DEBIAN-CVE-2026-21716 DSA-6183-1
Debian14nodejs22.22.2+dfsg+~cs22.19.15-1DEBIAN-CVE-2026-21716
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 6 morenodejsno fix listedUBUNTU-CVE-2026-21716
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-libs and 5 more1:24.14.1-2.module+el8.10.0+24190+49a46c75RHSA-2026:7670
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:3.0.3-1.module+el8.10.0+24190+49a46c75RHSA-2026:7670
Red Hatenterprise_linux:8::appstreamnodejs-packaging, nodejs-packaging-bundler0:2021.06-6.module+el8.10.0+24190+49a46c75RHSA-2026:7670
Red Hatenterprise_linux:8::appstreamnpm1:11.11.0-1.24.14.1.2.module+el8.10.0+24190+49a46c75RHSA-2026:7670
Red Hatenterprise_linux:8::appstreamv8-13.6-devel3:13.6.233.17-1.24.14.1.2.module+el8.10.0+24190+49a46c75RHSA-2026:7670
Red Hatenterprise_linux:9::appstreamnodejs, nodejs-docs, nodejs-libs and 5 more1:24.14.1-2.module+el9.7.0+24166+51c9666bRHSA-2026:7350
Red Hatenterprise_linux:9::appstreamnodejs-nodemon0:3.0.3-3.module+el9.7.0+24166+51c9666bRHSA-2026:7350
Red Hatenterprise_linux:9::appstreamnodejs-packaging, nodejs-packaging-bundler0:2021.06-6.module+el9.7.0+24166+51c9666bRHSA-2026:7350
Red Hatenterprise_linux:9::appstreamnpm1:11.11.0-1.24.14.1.2.module+el9.7.0+24166+51c9666bRHSA-2026:7350
Red Hatenterprise_linux:9::appstreamv8-13.6-devel3:13.6.233.17-1.24.14.1.2.module+el9.7.0+24166+51c9666bRHSA-2026:7350
Red Hatenterprise_linux:10.1nodejs24, nodejs24-docs, nodejs24-libs and 5 more1:24.14.1-2.el10_1RHSA-2026:7675
Red Hatenterprise_linux:10.1nodejs24-npm1:11.11.0-1.24.14.1.2.el10_1RHSA-2026:7675
8 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Server 15 SP5-LTSS and 1 morenodejs2020.20.2-150500.11.27.1SUSE-SU-2026:1371-1
SUSELinux Enterprise Module for Web and Scripting 15 SP7nodejs2222.22.2-150700.3.9.1SUSE-SU-2026:1478-1
SUSELinux Enterprise Module for Web and Scripting 15 SP7nodejs2424.14.1-150700.15.8.1SUSE-SU-2026:1299-1
SUSELinux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6nodejs2020.20.2-150600.3.18.1SUSE-SU-2026:1363-1
SUSELinux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6nodejs2222.22.2-150600.13.15.1SUSE-SU-2026:1509-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0nodejs2222.23.0-160000.1.1SUSE-SU-2026:22368-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0nodejs2424.14.1-160000.1.1SUSE-SU-2026:21181-1
openSUSELeap 16.0nodejs2222.23.0-160000.1.1openSUSE-SU-2026:21058-1
openSUSELeap 16.0nodejs2424.14.1-160000.1.1openSUSE-SU-2026:20519-1
openSUSETumbleweednodejs2424.14.1-1.1openSUSE-SU-2026:10504-1
openSUSETumbleweednodejs2626.3.1-1.1openSUSE-SU-2026:11110-1
AlmaLinux8nodejs, nodejs-docs, nodejs-libs and 2 more1:24.14.1-2.module_el8.10.0+4160+4819ac42ALSA-2026:7670
AlmaLinux8nodejs-nodemon3.0.3-1.module_el8.10.0+4061+f8ceeab9ALSA-2026:7670
AlmaLinux8nodejs-packaging, nodejs-packaging-bundler2021.06-6.module_el8.10.0+4086+70facd4aALSA-2026:7670
AlmaLinux8npm1:11.11.0-1.24.14.1.2.module_el8.10.0+4160+4819ac42ALSA-2026:7670
AlmaLinux8v8-13.6-devel3:13.6.233.17-1.24.14.1.2.module_el8.10.0+4160+4819ac42ALSA-2026:7670
AlmaLinux9nodejs, nodejs-docs, nodejs-libs and 2 more1:24.14.1-2.module_el9.7.0+222+ef1c61e1ALSA-2026:7350
AlmaLinux9nodejs-nodemon3.0.3-3.module_el9.7.0+209+ecf6523eALSA-2026:7350
AlmaLinux9nodejs-packaging2021.06-6.module_el9.7.0+209+ecf6523eALSA-2026:7350
AlmaLinux9nodejs-packaging-bundler2021.06-6.module_el9.7.0+198+8bf605baALSA-2026:7350
AlmaLinux9npm1:11.11.0-1.24.14.1.2.module_el9.7.0+222+ef1c61e1ALSA-2026:7350
AlmaLinux9v8-13.6-devel3:13.6.233.17-1.24.14.1.2.module_el9.7.0+222+ef1c61e1ALSA-2026:7350
AlmaLinux10nodejs24-docs1:24.14.1-2.el10_1ALSA-2026:7675
1 more for AlmaLinux in the JSON.
Rocky Linux8nodejs-nodemon0:3.0.3-1.module+el8.10.0+2084+ab509703RLSA-2026:7670
Rocky Linux8nodejs-packaging0:2021.06-6.module+el8.10.0+40048+6d99f608RLSA-2026:7670
Rocky Linux9nodejs-nodemon0:3.0.3-3.module+el9.7.0+40025+0e0cf6b2RLSA-2026:7350
Rocky Linux9nodejs-packaging0:2021.06-6.module+el9.7.0+40052+e32ea525RLSA-2026:7350
Rocky Linux10nodejs241:24.14.1-2.el10_1RLSA-2026:7675
Alpinev3.21, v3.22nodejs22.22.2-r0ALPINE-CVE-2026-21716
Alpinev3.23, v3.24nodejs24.14.1-r0ALPINE-CVE-2026-21716
Azure Linux3nodejs20.14.0-15AZL-81236
Azure Linux3nodejs2424.14.1-1AZL-81254
Alpaquita23nodejs20.20.2-r0BELL-CVE-2026-21716
Alpaquita25nodejs22.22.2-r0BELL-CVE-2026-21716
Alpaquitastreamnodejs24.14.1-r0BELL-CVE-2026-21716
BellSoft Hardened Containers23nodejs20.20.2-r0BELL-CVE-2026-21716
BellSoft Hardened Containers25nodejs22.22.2-r0BELL-CVE-2026-21716
BellSoft Hardened Containersstreamnodejs24.14.1-r0BELL-CVE-2026-21716

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Low.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10nodejs24-1:24.14.1-2.el10_1Fixed 2026-04-13RHSA-2026:7675
Red Hat Enterprise Linux 8nodejs:24-8100020260408131901.6d880403Fixed 2026-04-13RHSA-2026:7670
Red Hat Enterprise Linux 9nodejs:24-9070020260402152654.rhel9Fixed 2026-04-09RHSA-2026:7350
Red Hat Hardened Imagesnodejs24-main-11.11.0-1.24.14.1.4.hum1Fixed 2026-04-01RHSA-2026:6402
Red Hat Hardened Imagesnodejs24-main-24.14.1-4.hum1Fixed 2026-04-01RHSA-2026:6402
Red Hat Hardened Imagesnodejs25-main-11.12.1-1.25.9.0.1.hum1Fixed 2026-04-02RHSA-2026:6431
Red Hat Hardened Imagesnodejs25-main-25.9.0-1.hum1Fixed 2026-04-02RHSA-2026:6431
Red Hat Hardened Imagesnodejs20-main-10.8.2-1.20.20.0.7.1.hum1Fixed 2026-04-10RHSA-2026:7386
Red Hat Hardened Imagesnodejs20-main-20.20.0-7.1.hum1Fixed 2026-04-10RHSA-2026:7386
Red Hat Hardened Imagesnodejs22-main-10.9.4-1.22.22.0.1.3.hum1Fixed 2026-04-10RHSA-2026:7387
Red Hat Hardened Imagesnodejs22-main-22.22.0-1.3.hum1Fixed 2026-04-10RHSA-2026:7387
Red Hat Enterprise Linux 10nodejs22Fix deferred
Red Hat Enterprise Linux 8nodejs:20/nodejsFix deferred
Red Hat Enterprise Linux 8nodejs:22/nodejsFix deferred
Red Hat Enterprise Linux 9nodejs:20/nodejsFix deferred
Red Hat Enterprise Linux 9nodejs:22/nodejsFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-21716.

Attack patterns (CAPEC)

  • CAPEC-665 Exploitation of Thunderbolt Protection Flaws Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON