CVE-2026-21715: A flaw in Node.js Permission Model filesystem enforcement leaves `fs.realpathSync.native()` without the requir
CVE-2026-21715 is a low-severity flaw (CVSS 3.3) affecting node.js. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 3.3 (Low) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.1% (top 96%) |
| CISA exploited list | No |
| Weakness | CWE-732 |
| Published | 2026-03-30 |
| Last modified | 2026-08-19 |
Last updated 2026-08-19 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-21715?
node.js: upgrade to newer than 25.8.1. Exact commands for each OS are on this page.
Is CVE-2026-21715 being exploited?
CVE-2026-21715 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-21715 affect?
CVE-2026-21715 affects node.js. Severity is low (CVSS 3.3). 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 `-
How urgent is CVE-2026-21715?
Priority 13/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2026-48617 HIGH 8.2 UPGRADE A flaw in Node.js Permission Model enforcement allows Bypass via `process.report.writeReport()` Path Misvalida
- CVE-2026-48937 HIGH 7.5 UPGRADE A flaw in Node.js HTTP/2 server API can cause servers to keep accepting data even after sending a `GOAWAY` fra
- CVE-2026-48931 LOW 3.7 DOWNGRADE A flaw in Node.js HTTP Agent can cause a client to accept as valid a response that is send before the client h
- CVE-2026-48933 HIGH 7.5 DOWNGRADE A flaw in Node.js WebCrypto implementation can crash the process if the input of `subtle.encrypt()` is a multi
- CVE-2026-48618 MEDIUM 6.5 DOWNGRADE A flaw in Node.js TLS hostname handling can cause Node.js unicode dot separator handling can lead to tls wildc