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.
References
| Link | Resource |
|---|---|
| https://nodejs.org/en/blog/vulnerability/march-2026-security-releases | Vendor Advisory |
Configurations
Configuration 1 (hide)
|
History
19 Aug 2026, 13:32
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:* | |
| References | () https://nodejs.org/en/blog/vulnerability/march-2026-security-releases - Vendor Advisory | |
| First Time |
Nodejs node.js
Nodejs |
01 Apr 2026, 16:23
| Type | Values Removed | Values Added |
|---|---|---|
| CWE | CWE-732 |
01 Apr 2026, 14:24
| Type | Values Removed | Values Added |
|---|---|---|
| Summary |
|
30 Mar 2026, 20:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-03-30 20:16
Updated : 2026-08-19 13:32
NVD link : CVE-2026-21715
Mitre link : CVE-2026-21715
CVE.ORG link : CVE-2026-21715
JSON object : View
Products Affected
nodejs
- node.js
CWE
CWE-732
Incorrect Permission Assignment for Critical Resource
