Skip to content
Fencer Vulns
low 3.3

CVE-2026-21715 json

A flaw in Node.js Permission Model filesystem enforcement leaves `fs.realpathSync.native()` without the required read permission checks, wh…

published 2026-03-30 7 mo ago modified 2026-09-17 52 d ago also BIT-node-2026-21715 , BIT-node-min-2026-21715 , EUVD-2026-17178

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 4%
public exploits
0
none known

Summary

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.

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

  • nodejs24 RHEL 10.1 1:24.14.1-2.el10_1
  • nodejs24-npm RHEL 10.1 1:11.11.0-1.24.14.1.2.el10_1
  • nodejs24-libs RHEL 10.1 1:24.14.1-2.el10_1
  • nodejs24-full-i18n RHEL 10.1 1:24.14.1-2.el10_1
  • npm RHEL 8 1:11.11.0-1.24.14.1.2.module+el8.10.0+24190+49a46c75
  • nodejs RHEL 8 1:24.14.1-2.module+el8.10.0+24190+49a46c75
  • nodejs-libs RHEL 8 1:24.14.1-2.module+el8.10.0+24190+49a46c75
  • nodejs-nodemon RHEL 8 3.0.3-1.module+el8.10.0+24190+49a46c75

red hat advisories RHSA-2026:7675RHSA-2026:7670RHSA-2026:7350

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

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-81230AZL-81263

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-21715 updated cvss 3.3

Node.js: Node.js: Information disclosure due to `fs.realpathSync.native()` bypassing filesystem read restrictions

  • 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 nodejs22
    affected: 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 more
    fixed: 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 more
    fixed: 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_1
    fixed: vendor fix RHSA-2026:7675

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.15% chance of exploitation in the next 30 days, higher than 4% 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:L/I:N/A:N
OSV 3.0 3.3 CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/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-732 Incorrect Permission Assignment for Critical Resource
Technology feeds

References

Sources

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.