SecurityContext

CVE-2026-21715: Node.js - Broken Access Control

  • Cve: CVE-2026-21715
  • Name: Node.js - Broken Access Control
  • 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.
  • Impact: Attackers can bypass filesystem read restrictions to check file existence and enumerate paths outside permitted directories.
  • Remediation: Update to the latest Node.js version where this issue is fixed.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: broken_access_control, information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: low
  • Cvss score: 3.3
  • Cvss vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
  • Epss score: 0.00153
  • Epss percentile: 0.04399
  • Assignee: [email protected]
  • Published at: 2026-03-30T20:16:19Z
  • Age in days: 239
  • Modified at: 2026-08-19T13:32:49Z
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-21715
  • Nvd status: analyzed
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements

Cwe

IdName
CWE-732Incorrect Permission Assignment for Critical Resource

Hackerone

  • Reports: 2
  • Rank: 3240

References

UrlSourceTags
https://nodejs.org/en/blog/vulnerability/march-2026-security-releasesnvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
nodejs:node.js>= 25.0.0, <= 25.8.1; >= 24.0.0, <= 24.14.0; >= 22.0.0, <= 22.22.1; <= 20.20.1nonvd/v1/products/nodejs/node.js

Projects

RepositoryLink kindsIndexedUrl
nodejs/nodefixyes/v1/repositories/nodejs/node

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Hackerone reports: 2
  • Exposed hosts: 3533194
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since