CVE-2026-21715
Node.js: Node.js: Information disclosure due to `fs.realpathSync.native()` bypassing filesystem read restrictions
Overview
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.
Source: OX vulnerability database
Severity
3.3 · LOW
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness: CWE-732
Affected packages · 2
| Ecosystem | Package | Vulnerable | 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.222.22.224.14.125.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.222.22.224.14.125.8.2 |
Open a package to see all its vulnerabilities.
Operating systems · 88 fixes
Azure Linux 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | nodejs | 0:20.14.0-15.azl3 |
| 3.0 | nodejs24 | 0:24.14.1-1.azl3 |
Oracle Linux 2 releases · 5 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | npm | 1:11.11.0-1.24.14.1.2.module+el8.10.0+90873+35652ecc |
| 8 | nodejs +4 | 1:24.14.1-2.module+el8.10.0+90873+35652ecc |
| 8 | nodejs-packaging +1 | 2021.06-6.module+el8.10.0+90873+35652ecc |
| 8 | nodejs-nodemon | 3.0.3-1.module+el8.10.0+90873+35652ecc |
| 8 | v8-13-6-devel | 3:13.6.233.17-1.24.14.1.2.module+el8.10.0+90873+35652ecc |
| 9 | npm | 1:11.11.0-1.24.14.1.2.module+el9.7.0+90866+5a953a4c |
4 more rows
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | nodejs +1 | 22.22.2-1.ph4 |
| 5.0 | nodejs +1 | 22.22.2-1.1.ph5 |
Red Hat 6 releases · 5 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 8 (nodejs:20) | nodejs +10 | affected | — |
| 8 (nodejs:22) | nodejs +10 | affected | — |
| 8 (nodejs:24) | nodejs-packaging +1 | 0:2021.06-6.module+el8.10.0+24190+49a46c75 | RHSA-2026:7670 |
| 8 (nodejs:24) | nodejs-nodemon | 0:3.0.3-1.module+el8.10.0+24190+49a46c75 | RHSA-2026:7670 |
| 8 (nodejs:24) | npm | 1:11.11.0-1.24.14.1.2.module+el8.10.0+24190+49a46c75 | RHSA-2026:7670 |
| 8 (nodejs:24) | nodejs +4 | 1:24.14.1-2.module+el8.10.0+24190+49a46c75 | RHSA-2026:7670 |
8 more rows
SUSE Linux Enterprise 4 releases · 5 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.5 | nodejs20 +3 | 20.20.2-150500.11.27.1 | SUSE-SU-2026:1371-1 |
| 15.6 | nodejs20 +3 | 20.20.2-150600.3.18.1 | SUSE-SU-2026:1363-1 |
| 15.6 | nodejs22 +3 | 22.22.2-150600.13.15.1 | SUSE-SU-2026:1509-1 |
| 15.7 | nodejs22 +3 | 22.22.2-150700.3.9.1 | SUSE-SU-2026:1478-1 |
| 15.7 | nodejs24 +3 | 24.14.1-150700.15.8.1 | SUSE-SU-2026:1299-1 |
| 16.0 | corepack22 +4 | 22.23.0-160000.1.1 | SUSE-SU-2026:22368-1 |
1 more row
alma 3 releases · 8 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | nodejs24-npm | 1:11.11.0-1.24.14.1.2.el10_1 |
| 10 | nodejs24-docs | 1:24.14.1-2.el10_1 |
| 8 (nodejs:24) | npm | 1:11.11.0-1.24.14.1.2.module_el8.10.0+4160+4819ac42 |
| 8 (nodejs:24) | nodejs +4 | 1:24.14.1-2.module_el8.10.0+4160+4819ac42 |
| 8 (nodejs:24) | nodejs-packaging +1 | 2021.06-6.module_el8.10.0+4086+70facd4a |
| 8 (nodejs:24) | nodejs-nodemon | 3.0.3-1.module_el8.10.0+4061+f8ceeab9 |
7 more rows
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | nodejs | 22.22.2-r0 |
| 3.23 | nodejs | 24.14.1-r0 |
| 3.24 | nodejs | 24.14.1-r0 |
| edge | nodejs | 24.14.1-r0 |
amazon linux 1 release · 9 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | nodejs20-npm | 1:10.8.2-1.20.20.2.1.amzn2023.0.1 |
| 2023 | nodejs22-npm | 1:10.9.7-1.22.22.2.1.amzn2023.0.1 |
| 2023 | nodejs24-npm | 1:11.11.0-1.24.14.1.1.amzn2023.0.1 |
| 2023 | nodejs20 +7 | 1:20.20.2-1.amzn2023.0.1 |
| 2023 | nodejs22 +7 | 1:22.22.2-1.amzn2023.0.1 |
| 2023 | nodejs24 +7 | 1:24.14.1-1.amzn2023.0.1 |
3 more rows
chainguard 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| nodejs-22 | 22.22.3-r0 |
debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 13 | nodejs | 20.19.2+dfsg-1+deb13u2 |
| 14 | nodejs | 22.22.2+dfsg+~cs22.19.15-1 |
echo 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| nodejs-18 | 18.20.8+e2 | |
| nodejs | 20.19.2+dfsg-1+deb13u2 |
minimos 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| nodejs-20 | 20.20.2-r0 | |
| nodejs-22 | 22.22.2-r0 | |
| nodejs-24 | 24.14.1-r0 | |
| nodejs-25 | 25.8.2-r0 |
openSUSE 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | corepack24 +4 | 24.14.1-1.1 | openSUSE-SU-2026:10504-1 |
| Tumbleweed | nodejs26 +3 | 26.3.1-1.1 | openSUSE-SU-2026:11110-1 |
openSUSE Leap 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 16.0 | corepack22 +4 | 22.23.0-160000.1.1 | openSUSE-SU-2026:21058-1 |
| 16.0 | corepack24 +4 | 24.14.1-160000.1.1 | openSUSE-SU-2026:20519-1 |
rocky 3 releases · 7 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | nodejs24-npm | 1:11.11.0-1.24.14.1.2.el10_1 |
| 10 | nodejs24 +4 | 1:24.14.1-2.el10_1 |
| 8 (nodejs:24) | npm | 1:11.11.0-1.24.14.1.2.module+el8.10.0+40152+064e9ddb |
| 8 (nodejs:24) | nodejs +4 | 1:24.14.1-2.module+el8.10.0+40152+064e9ddb |
| 8 (nodejs:24) | nodejs-packaging +1 | 2021.06-6.module+el8.10.0+40048+6d99f608 |
| 8 (nodejs:24) | nodejs-nodemon | 3.0.3-1.module+el8.10.0+2084+ab509703 |
7 more rows
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| nodejs-22 | 22.22.3-r0 |
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:7350
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:7670
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-21715
- bugzilla.redhat.com https://bugzilla.redhat.com/2431340
- bugzilla.redhat.com https://bugzilla.redhat.com/2436942
- bugzilla.redhat.com https://bugzilla.redhat.com/2441268
- bugzilla.redhat.com https://bugzilla.redhat.com/2447140
- bugzilla.redhat.com https://bugzilla.redhat.com/2447141
- bugzilla.redhat.com https://bugzilla.redhat.com/2447142
- bugzilla.redhat.com https://bugzilla.redhat.com/2447143
Show all 63 references
- bugzilla.redhat.com https://bugzilla.redhat.com/2447144
- bugzilla.redhat.com https://bugzilla.redhat.com/2447145
- bugzilla.redhat.com https://bugzilla.redhat.com/2448754
- bugzilla.redhat.com https://bugzilla.redhat.com/2453037
- bugzilla.redhat.com https://bugzilla.redhat.com/2453151
- bugzilla.redhat.com https://bugzilla.redhat.com/2453152
- bugzilla.redhat.com https://bugzilla.redhat.com/2453157
- bugzilla.redhat.com https://bugzilla.redhat.com/2453158
- bugzilla.redhat.com https://bugzilla.redhat.com/2453160
- bugzilla.redhat.com https://bugzilla.redhat.com/2453161
- bugzilla.redhat.com https://bugzilla.redhat.com/2453162
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2431340
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2441268
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2447140
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2447141
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2447142
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2447143
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2447144
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2447145
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2448754
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2453037
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2453151
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2453152
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2453157
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2453158
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2453160
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2453161
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2453162
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-1525
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-1526
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-1527
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-1528
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-21637
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-21710
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-21711
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-21712
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-21713
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-21714
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-21715
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-21716
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-21717
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-2229
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-2581
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-26996
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-27135
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2026-7350.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2026:7670
- linux.oracle.com https://linux.oracle.com/cve/CVE-2026-21715.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-7675.html
- nodejs.org https://nodejs.org/en/blog/vulnerability/march-2026-security-releases
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-21715
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-21715
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.