CVE-2026-21715
Summary
| CVE | CVE-2026-21715 |
|---|---|
| State | PUBLISHED |
| Assigner | hackerone |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-03-30 20:16:19 UTC |
| Updated | 2026-04-01 16:23:48 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.0 3.3 LOW from [email protected]
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS: 0.000050000 probability, percentile 0.002010000 (date 2026-04-07)
Problem Types: CWE-732 | CWE-732 CWE-732 Incorrect Permission Assignment for Critical Resource
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.0 | [email protected] | Secondary | 3.3 | LOW | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| 3.0 | CNA | DECLARED | 3.3 | LOW | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
CVSS v3.0 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
NoneAvailability
NoneCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Nodejs | Node | affected 20.20.1 20.20.1 semver | Not specified |
| CNA | Nodejs | Node | affected 22.22.1 22.22.1 semver | Not specified |
| CNA | Nodejs | Node | affected 24.14.0 24.14.0 semver | Not specified |
| CNA | Nodejs | Node | affected 25.8.1 25.8.1 semver | Not specified |
| CNA | Nodejs | Node | affected 4.0 4.* semver | Not specified |
| CNA | Nodejs | Node | affected 5.0 5.* semver | Not specified |
| CNA | Nodejs | Node | affected 6.0 6.* semver | Not specified |
| CNA | Nodejs | Node | affected 7.0 7.* semver | Not specified |
| CNA | Nodejs | Node | affected 8.0 8.* semver | Not specified |
| CNA | Nodejs | Node | affected 9.0 9.* semver | Not specified |
| CNA | Nodejs | Node | affected 10.0 10.* semver | Not specified |
| CNA | Nodejs | Node | affected 11.0 11.* semver | Not specified |
| CNA | Nodejs | Node | affected 12.0 12.* semver | Not specified |
| CNA | Nodejs | Node | affected 13.0 13.* semver | Not specified |
| CNA | Nodejs | Node | affected 14.0 14.* semver | Not specified |
| CNA | Nodejs | Node | affected 15.0 15.* semver | Not specified |
| CNA | Nodejs | Node | affected 16.0 16.* semver | Not specified |
| CNA | Nodejs | Node | affected 17.0 17.* semver | Not specified |
| CNA | Nodejs | Node | affected 18.0 18.* semver | Not specified |
| CNA | Nodejs | Node | affected 19.0 19.* semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| nodejs.org/en/blog/vulnerability/march-2026-security-releases | [email protected] | nodejs.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.