Node.js fs.realpathSync() bypasses filesystem permission checks
CVE-2026-106073Low
Node.js does not enforce read permission checks on the fs.realpathSync() function when the --permission flag is active with restricted --allow-fs-read settings. An attacker running code under these permission restrictions can use fs.realpathSync() to determine whether files exist, resolve symlink targets, and discover filesystem paths outside the permitted directories. The attacker needs to be able to execute code within a Node.js process that has been started with the --permission flag.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Detail
Reports naming this CVE2 in total
· Qualys Security Blog
Waiting on a Node.js Upgrade? Build a Stopgap with the Controls You Own (opens in a new tab)· FortiGuard Labs IR Advisories
Multiple Node.js CVEs (opens in a new tab)