CVE Watchtower

CVE-2026-21715Nodejs Node.js Incorrect Permission Assignment for Critical Resource

NVDCVSS scored by support@hackerone.com

Vulnerability 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.
Severity Level
LOW(3.3)
Published Date
Mar 30, 2026
Last Modified
Aug 19, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
0.16%Probability
Root Weakness (CWE)
The product specifies permissions for a security-critical resource in a way that allows it to be read or modified by unintended actors.
CVSS v3.0 Base Metrics — Score 3.3 (LOW)
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityLow
IntegrityNone
AvailabilityNone

Affected & Patched Versions

Affected Versions
  • Nodejs Node.js <= 20.20.1
  • Nodejs Node.js >= 22.0.0 and <= 22.22.1
  • Nodejs Node.js >= 24.0.0 and <= 24.14.0
  • Nodejs Node.js >= 25.0.0 and <= 25.8.1
  • nodejs node >= 20.20.1 and <= 20.20.1
  • nodejs node >= 22.22.1 and <= 22.22.1
  • nodejs node >= 24.14.0 and <= 24.14.0
  • nodejs node >= 25.8.1 and <= 25.8.1
  • nodejs node >= 4.0 and < 4.*
  • nodejs node >= 5.0 and < 5.*
  • nodejs node >= 6.0 and < 6.*
  • nodejs node >= 7.0 and < 7.*
  • nodejs node >= 8.0 and < 8.*
  • nodejs node >= 9.0 and < 9.*
  • nodejs node >= 10.0 and < 10.*
  • nodejs node >= 11.0 and < 11.*
  • nodejs node >= 12.0 and < 12.*
  • nodejs node >= 13.0 and < 13.*
  • nodejs node >= 14.0 and < 14.*
  • nodejs node >= 15.0 and < 15.*
  • nodejs node >= 16.0 and < 16.*
  • nodejs node >= 17.0 and < 17.*
  • nodejs node >= 18.0 and < 18.*
  • nodejs node >= 19.0 and < 19.*
Patched Versions
  • nodejs node 20.20.1
  • nodejs node 22.22.1
  • nodejs node 24.14.0
  • nodejs node 25.8.1
  • nodejs node 4.*
  • nodejs node 5.*
  • nodejs node 6.*
  • nodejs node 7.*
  • nodejs node 8.*
  • nodejs node 9.*
  • nodejs node 10.*
  • nodejs node 11.*
  • nodejs node 12.*
  • nodejs node 13.*
  • nodejs node 14.*
  • nodejs node 15.*
  • nodejs node 16.*
  • nodejs node 17.*
  • nodejs node 18.*
  • nodejs node 19.*

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run Nodejs Node.js and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Mar 30, 2026Published
  • Aug 19, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Nodejs Node.js CVEsYou are reading CVE-2026-21715. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 27, 2026 20:15 UTC