{"id":"CVE-2026-21715","url":"https://www.cyber-defence.io/tools/cve/CVE-2026-21715","generatedAt":"2026-10-28T02:20:34.375Z","title":"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.","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.\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.","published":"2026-03-30T20:16:20.000Z","lastModified":"2026-08-19T13:32:50.000Z","status":"Analyzed","sourceIdentifier":"support@hackerone.com","cvss":{"version":"3.0","score":3.3,"severity":"LOW","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N"},"cwe":["CWE-732"],"affected":["nodejs/node.js"],"epss":{"score":0.00158,"percentile":0.04893,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (0.16%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"https://nodejs.org/en/blog/vulnerability/march-2026-security-releases","tags":["Vendor Advisory"],"source":"support@hackerone.com"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-21715","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}