Vulnerability · Published Mar 30, 2026 · Assigned by hackerone

CVE-2026-21715

Low 3.3

In plain English

A low-severity incorrect permission assignment in node from nodejs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 4% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.0)3.3Low
Exploit odds (30 days)0.1%top 95.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8nodejs1:24.14.1-2.module_el8.10.0+4160+4819ac42ALSA-2026:7670
AlmaLinux:9nodejs1:24.14.1-2.module_el9.7.0+222+ef1c61e1ALSA-2026:7350
AlmaLinux:8nodejs-devel1:24.14.1-2.module_el8.10.0+4160+4819ac42ALSA-2026:7670
AlmaLinux:9nodejs-devel1:24.14.1-2.module_el9.7.0+222+ef1c61e1ALSA-2026:7350
AlmaLinux:8nodejs-docs1:24.14.1-2.module_el8.10.0+4160+4819ac42ALSA-2026:7670
AlmaLinux:9nodejs-docs1:24.14.1-2.module_el9.7.0+222+ef1c61e1ALSA-2026:7350
AlmaLinux:8nodejs-full-i18n1:24.14.1-2.module_el8.10.0+4160+4819ac42ALSA-2026:7670
AlmaLinux:9nodejs-full-i18n1:24.14.1-2.module_el9.7.0+222+ef1c61e1ALSA-2026:7350
AlmaLinux:8nodejs-libs1:24.14.1-2.module_el8.10.0+4160+4819ac42ALSA-2026:7670
AlmaLinux:9nodejs-libs1:24.14.1-2.module_el9.7.0+222+ef1c61e1ALSA-2026:7350
AlmaLinux:8nodejs-nodemon3.0.3-1.module_el8.10.0+4061+f8ceeab9ALSA-2026:7670
AlmaLinux:9nodejs-nodemon3.0.3-3.module_el9.7.0+209+ecf6523eALSA-2026:7350
AlmaLinux:8nodejs-packaging2021.06-6.module_el8.10.0+4086+70facd4aALSA-2026:7670
AlmaLinux:9nodejs-packaging2021.06-6.module_el9.7.0+209+ecf6523eALSA-2026:7350
AlmaLinux:8nodejs-packaging-bundler2021.06-6.module_el8.10.0+4086+70facd4aALSA-2026:7670
AlmaLinux:9nodejs-packaging-bundler2021.06-6.module_el9.7.0+198+8bf605baALSA-2026:7350
AlmaLinux:10nodejs24-docs1:24.14.1-2.el10_1ALSA-2026:7675
AlmaLinux:10nodejs24-npm1:11.11.0-1.24.14.1.2.el10_1ALSA-2026:7675
AlmaLinux:8npm1:11.11.0-1.24.14.1.2.module_el8.10.0+4160+4819ac42ALSA-2026:7670
AlmaLinux:9npm1:11.11.0-1.24.14.1.2.module_el9.7.0+222+ef1c61e1ALSA-2026:7350
AlmaLinux:8v8-13.6-devel3:13.6.233.17-1.24.14.1.2.module_el8.10.0+4160+4819ac42ALSA-2026:7670
AlmaLinux:9v8-13.6-devel3:13.6.233.17-1.24.14.1.2.module_el9.7.0+222+ef1c61e1ALSA-2026:7350
Alpine:v3.21nodejs22.22.2-r0ALPINE-CVE-2026-21715
Alpine:v3.22nodejs22.22.2-r0ALPINE-CVE-2026-21715
Alpine:v3.23nodejs24.14.1-r0ALPINE-CVE-2026-21715
Alpine:v3.24nodejs24.14.1-r0ALPINE-CVE-2026-21715
Debian:13nodejs20.19.2+dfsg-1+deb13u2DEBIAN-CVE-2026-21715
Debian:13nodejs20.19.2+dfsg-1+deb13u2DSA-6183-1
Debian:14nodejs22.22.2+dfsg+~cs22.19.15-1DEBIAN-CVE-2026-21715
Rocky Linux:8nodejs-nodemon0:3.0.3-1.module+el8.10.0+2084+ab509703RLSA-2026:7670
Rocky Linux:9nodejs-nodemon0:3.0.3-3.module+el9.7.0+40025+0e0cf6b2RLSA-2026:7350
Rocky Linux:8nodejs-packaging0:2021.06-6.module+el8.10.0+40048+6d99f608RLSA-2026:7670
Rocky Linux:9nodejs-packaging0:2021.06-6.module+el9.7.0+40052+e32ea525RLSA-2026:7350
Rocky Linux:10nodejs241:24.14.1-2.el10_1RLSA-2026:7675
Ubuntu:24.04:LTSnodejsno fix listedUBUNTU-CVE-2026-21715
Ubuntu:25.10nodejsno fix listedUBUNTU-CVE-2026-21715
Ubuntu:26.04:LTSnodejsno fix listedUBUNTU-CVE-2026-21715
Ubuntu:26.10nodejsno fix listedUBUNTU-CVE-2026-21715

Affected products (as reported)

VendorProductVersions
nodejs node 20.20.1 – through 20.20.122.22.1 – through 22.22.124.14.0 – through 24.14.025.8.1 – through 25.8.14.0 – before 4.*5.0 – before 5.*6.0 – before 6.*7.0 – before 7.*

Weakness: CWE-732 · Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

References