cve.bz

CVE-2026-21715 nodejs node.js

3.3 lowEPSS 0.2%

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

On this page
A flaw in Node.js Permission Model filesystem enforcement leaves `fs.realpathSync.native()` without the required read permission checks, while all comparable filesystem functions correctly enforce them. As a result, code running under `--permission` with restricted `--allow-fs-read` can still use `fs.realpathSync.native()` to check file existence, resolve symlink targets, and enumerate filesystem paths outside of permitted directories. This vulnerability affects **20.x, 22.x, 24.x, and 25.x** processes using the Permission Model where `--allow-fs-read` is intentionally restricted.

Severity

CVSS 3.0

3.3 low
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS
0.2% (unchanged from 0.1% a week ago; 0.2% 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-04-01. 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-732 Incorrect Permission Assignment for Critical Resource
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-21715 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-21715?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-21715?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-21715 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
nodejs nodefrom 4.0 before 4.*
nodejs nodefrom 5.0 before 5.*
nodejs nodefrom 6.0 before 6.*
nodejs nodefrom 7.0 before 7.*
nodejs nodefrom 8.0 before 8.*
nodejs nodefrom 9.0 before 9.*
nodejs nodefrom 10.0 before 10.*
nodejs nodefrom 11.0 before 11.*
nodejs nodefrom 12.0 before 12.*
nodejs nodefrom 13.0 before 13.*
nodejs nodefrom 14.0 before 14.*
nodejs nodefrom 15.0 before 15.*
nodejs nodefrom 16.0 before 16.*
nodejs nodefrom 17.0 before 17.*
nodejs nodefrom 18.0 before 18.*
nodejs nodefrom 19.0 before 19.*

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13nodejs20.19.2+dfsg-1+deb13u2DEBIAN-CVE-2026-21715 DSA-6183-1
Debian14nodejs22.22.2+dfsg+~cs22.19.15-1DEBIAN-CVE-2026-21715
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 6 morenodejsno fix listedUBUNTU-CVE-2026-21715
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
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-21715
Alpinev3.23, v3.24nodejs24.14.1-r0ALPINE-CVE-2026-21715
Azure Linux3nodejs20.14.0-15AZL-81230
Azure Linux3nodejs2424.14.1-1AZL-81263
Alpaquita23nodejs20.20.2-r0BELL-CVE-2026-21715
Alpaquita25nodejs22.22.2-r0BELL-CVE-2026-21715
Alpaquitastreamnodejs24.14.1-r0BELL-CVE-2026-21715
BellSoft Hardened Containers23nodejs20.20.2-r0BELL-CVE-2026-21715
BellSoft Hardened Containers25nodejs22.22.2-r0BELL-CVE-2026-21715
BellSoft Hardened Containersstreamnodejs24.14.1-r0BELL-CVE-2026-21715

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 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-21715.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-732 (11).

References

Check your stackJSON