A flaw in Node.js’s Permissions model allows attackers to...
High severity
Unreviewed
Published
Jan 20, 2026
to the GitHub Advisory Database
•
Updated Jan 21, 2026
Description
Published by the National Vulnerability Database
Jan 20, 2026
Published to the GitHub Advisory Database
Jan 20, 2026
Last updated
Jan 21, 2026
A flaw in Node.js’s Permissions model allows attackers to bypass
--allow-fs-readand--allow-fs-writerestrictions 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.
References