JLSEC-2026-2469: Node.js Permission Model bypass through symlinks
A flaw in Node.js’s Permissions model allows attackers to bypass --allow-fs-read and --allow-fs-write restrictions using crafted relative symlink paths. By chaining directories and symlinks, a script granted access only to the current directory can escape the allowed path and read sensitive files. This breaks the expected isolation guarantees and enables arbitrary file read/write, leading to potential system compromise. This vulnerability affects users of the permission model on Node.js v20, v22, v24, and v25.
Affected Software
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Who is exposed to this issue?
Users of the Node.js permission model on the affected Node.js v20, v22, v24, and v25 lines are exposed when filesystem read or write access is restricted with --allow-fs-read or --allow-fs-write. The listed software includes julia/nodejs_20_jll and julia/nodejs_22_jll.
What does an attacker need to exploit the bypass?
An attacker needs the ability to run a script with filesystem permissions limited to the current directory. The script can use crafted relative symlink paths and directory chaining to escape the allowed path.
Are filesystem permission restrictions sufficient to contain affected scripts?
No. On affected versions, --allow-fs-read and --allow-fs-write restrictions can be bypassed through crafted relative symlink paths, allowing arbitrary file reads or writes outside the intended directory.