Vendors › Node.js

CVE-2026-21715

Low (no CVSS assigned) EPSS 0.2% Node.js · Node.js

Permission Model Bypass in realpathSync.native Allows File Existence Disclosure

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.

Published2026-03-24
Updated2026-03-24
AffectedNode.js 25.x, 24.x, 22.x, 20.x
FixUpgrade to v20.20.2, v22.22.2, v24.14.1, v25.8.2 (first fixed release per supported branch).
Vendor advisoryhttps://nodejs.org/en/blog/vulnerability/march-2026-security-releases#permission-model-bypass-in-realpathsyncnative-allows-file-existence-disclosure-cve-2026-21715---low

CVEs (1)

CVECWETypeImpactLinks
CVE-2026-21715CWE-732OtherPrivilege EscalationNVD · CVE.org · EUVD

CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.

Same CVE in other advisories

Open in the CVEMesh app Create a free account

Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.

CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.