CVE-2026-21715
A flaw in Node.js Permission Model filesystem enforcement leaves `fs.realpathSync.native()` without the required read permission checks,…
- Published
- Updated
- Reserved
- Assigned by
- hackerone
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.
Timeline
ID reserved
By hackerone
- 3 months later
· 3 months later
Published
- 6 months later
· 6 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| hackeroneCNA (assigner) | 3.0 | Low3.3 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVDNVD · Analyzed | 3.0 | Low3.3 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
- EPSS (exploitation in 30 days)
- 0.15% · top 96% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Low 3.3.
Weakness
Affected products
- affected 20.20.1 – ≤ 20.20.1
- affected 22.22.1 – ≤ 22.22.1
- affected 24.14.0 – ≤ 24.14.0
- affected 25.8.1 – ≤ 25.8.1
- affected 4.0 – < 4.*
- affected 5.0 – < 5.*
- affected 6.0 – < 6.*
- affected 7.0 – < 7.*
- affected 8.0 – < 8.*
- affected 9.0 – < 9.*
- affected 10.0 – < 10.*
- affected 11.0 – < 11.*
- affected 12.0 – < 12.*
- affected 13.0 – < 13.*
- affected 14.0 – < 14.*
- affected 15.0 – < 15.*
- affected 16.0 – < 16.*
- affected 17.0 – < 17.*
- affected 18.0 – < 18.*
- affected 19.0 – < 19.*
References (1)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2026-21715)Record last updated .