{"id":"CVE-2026-21715","published":"2026-03-30T19:07:28Z","modified":"2026-09-17T18:36:37Z","title":"A flaw in Node.js Permission Model filesystem enforcement leaves `fs.realpathSync.native()` without the required read…","vendor":"nodejs","product":"node","tier":"tail","description":{"text":"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.\r\n\r\nAs 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.\r\n\r\nThis vulnerability affects **20.x, 22.x, 24.x, and 25.x** processes using the Permission Model where `--allow-fs-read` is intentionally restricted.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.3,"severity":"LOW","version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00153,"percentile":0.04546,"provenance":"source"},"cwes":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"}],"references":[{"url":"https://nodejs.org/en/blog/vulnerability/march-2026-security-releases","tags":[]}],"priority":{"score":3.2,"factors":[{"name":"EPSS percentile","points":0.91},{"name":"CVSS severity","points":2.31}]},"vendorSlug":"nodejs","affectedVersions":[{"vendor":"nodejs","product":"node","versions":[">= 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, < 4.*",">= 5.0, < 5.*",">= 6.0, < 6.*",">= 7.0, < 7.*",">= 8.0, < 8.*",">= 9.0, < 9.*"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-01T14:55:13.031405Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-17178","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-nodejs-node-cve-2026-21715","children":[{"from":"CVE-2026-21715","to":"CVE-2026-106073","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"This is an incomplete fix of CVE-2026-21715, which only covered `fs.realpathSync.native()`.","from":"CVE.org","in":"CVE-2026-106073"}]}]}}