Incorrect permission assignment in NodeJS node
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Partial Red Hat: 3 fixed, 3 without a fix
Attack profile from CVSS 3.0 · CNA. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| NodeJS | node | 20.20.1 – 20.20.1; 22.22.1 – 22.22.1; 24.14.0 – 24.14.0; 25.8.1 – 25.8.1; 4.0 and later; 5.0 and later; 6.0 and later; 7.0 and later; 8.0 and later; 9.0 and later; 10.0 and later; 11.0 and later; 12.0 and later; 13.0 and later; 14.0 and later; 15.0 and later; 16.0 and later; 17.0 and later; 18.0 and later; 19.0 and later | — | No fix listed | CNA |
- node VendorNodeJS Affected 20.20.1 – 20.20.1; 22.22.1 – 22.22.1; 24.14.0 – 24.14.0; 25.8.1 – 25.8.1; 4.0 and later; 5.0 and later; 6.0 and later; 7.0 and later; 8.0 and later; 9.0 and later; 10.0 and later; 11.0 and later; 12.0 and later; 13.0 and later; 14.0 and later; 15.0 and later; 16.0 and later; 17.0 and later; 18.0 and later; 19.0 and later Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:* | up to 20.20.1; 22.0.0 – 22.22.1; 24.0.0 – 24.14.0; 25.0.0 – 25.8.1 | Vulnerable | NodeJS |
- cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:* Versions up to 20.20.1; 22.0.0 – 22.22.1; 24.0.0 – 24.14.0; 25.0.0 – 25.8.1 Vulnerable ·NodeJS
Remediation
Red Hat 3 advisories
- RHSA-2026:7670 Released 2026-04-13 · Red Hat rating Importantnodejs:24 security update
- Red Hat Enterprise Linux AppStream (v. 8) nodejs-1:24.14.1-2.module+el8.10.0+24190+49a46c75.aarch64::nodejs:24, nodejs-1:24.14.1-2.module+el8.10.0+24190+49a46c75.ppc64le::nodejs:24, nodejs-1:24.14.1-2.module+el8.10.0+24190+49a46c75.s390x::nodejs:24 +25
- RHSA-2026:7675 Released 2026-04-13 · Red Hat rating Importantnodejs24 security update
- Red Hat Enterprise Linux AppStream (v. 10) nodejs24-1:24.14.1-2.el10_1, nodejs24-devel-1:24.14.1-2.el10_1, nodejs24-docs-1:24.14.1-2.el10_1 +3
- RHSA-2026:7350 Released 2026-04-09 · Red Hat rating Importantnodejs:24 security update
- Red Hat Enterprise Linux AppStream (v. 9) nodejs-1:24.14.1-2.module+el9.7.0+24166+51c9666b.aarch64::nodejs:24, nodejs-1:24.14.1-2.module+el9.7.0+24166+51c9666b.ppc64le::nodejs:24, nodejs-1:24.14.1-2.module+el9.7.0+24166+51c9666b.s390x::nodejs:24 +25
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
nodejs node 10.*, 11.* and 14 more versions
5 records Highest priority Priority MEDIUM 1 MEDIUM, 4 LOW
Other records, highest priority first
- TI-2026-17483 Resource allocation without limits in NodeJS nodePriority MEDIUM 60
- TI-2026-17486 A flaw in Node.js HMAC verification uses a non-constant-time comparison when validating…Priority LOW 33
- TI-2026-17490 A flaw in V8's string hashing mechanism causes integer-like strings to be hashed to their…Priority LOW 26
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2026:7675 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2026:7670 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2026:7350 |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-21715
- 2026-10-03 Alias added: GHSA-8jgr-5cgv-g667
References
More NodeJS Node.js vulnerabilities
- TI-2026-79288 Out-of-bounds write in Google Brotli decoder KEVCVSS 4.0CRITICAL 9.2
- TI-2023-23979 The HTTP/2 protocol allows a denial of service (server resource consumption) because… KEVCVSS 3.1HIGH 7.5
- TI-2016-01993 The DES and Triple DES ciphers, as used in the TLS, SSH, and IPSec protocols and other… CVSS 3.1HIGH 7.5
- TI-2024-03325 Command injection vulnerability in programing languages on Microsoft Windows operating system. CVSS 3.1CRITICAL 9.8
- TI-2022-03472 X.509 Email Address Variable Length Buffer Overflow CVSS 3.1HIGH 7.5
- TI-2022-03315 X.509 Email Address 4-byte Buffer Overflow CVSS 3.1HIGH 7.5
Sources
- CVE-2026-21715 · CVE Program
- CVE-2026-21715 · NVD
- FIRST EPSS
- GHSA-8jgr-5cgv-g667 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-21715 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences