CVE-2026-21715
nodejs node
LOW 3.3
At a glance
- Source
- NVD
- EPSS
- EPSS 0.15 % · percentile 4 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- hackerone
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-732 — Incorrect Permission Assignment for Critical Resource
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.0 | LOW 3.3 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N | hackerone |
| CVSS 3.0 | LOW 3.3 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N | NVD · support@hackerone.com (Secondary) |
European references
- ENISA EUVD · EUVD-2026-17178
- GCVE · GCVE-0-2026-21715
CERT-FR advisories
- CERTFR-2026-AVI-0796 — Multiples vulnérabilités dans Tenable Identity Exposure · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0627 — Multiples vulnérabilités dans les produits Splunk · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0436 — Multiples vulnérabilités dans Tenable Identity Exposure · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0406 — Multiples vulnérabilités dans les produits Microsoft · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*≤ 20.20.1cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*≥ 22.0.0 ≤ 22.22.1cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*≥ 24.0.0 ≤ 24.14.0cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*≥ 25.0.0 ≤ 25.8.1
Affected products
| Product | Versions |
|---|---|
| nodejs · node | 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.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |