Affected versions
Ubuntu24.04:LTS/nodejs
- Affected versions
- * || =18.13.0+dfsg1-1ubuntu2 || =18.19.1+dfsg-2ubuntu4 || =18.19.1+dfsg-6ubuntu1 || =18.19.1+dfsg-6ubuntu2 || =18.19.1+dfsg-6ubuntu5
- Fixed version
- Not reported
Ubuntu25.10/nodejs
- Affected versions
- * || =20.18.1+dfsg-1ubuntu2 || =20.19.2+dfsg-1 || =20.19.4+dfsg-1
- Fixed version
- Not reported
Ubuntu26.04:LTS/nodejs
- Affected versions
- Unknown
- Fixed version
- Not reported
UbuntuPro:14.04:LTS/nodejs
- Affected versions
- Unknown
- Fixed version
- Not reported
UbuntuPro:16.04:LTS/nodejs
- Affected versions
- Unknown
- Fixed version
- Not reported
UbuntuPro:18.04:LTS/nodejs
- Affected versions
- Unknown
- Fixed version
- Not reported
UbuntuPro:20.04:LTS/nodejs
- Affected versions
- Unknown
- Fixed version
- Not reported
UbuntuPro:22.04:LTS/nodejs
- Affected versions
- Unknown
- Fixed version
- Not reported
Description
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.

