Debian Security Tracker
DEBIAN-CVE-2025-55130
Details
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 packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Debian:13 | nodejs | All versions before 20.19.2+dfsg-1+deb13u1 (fixed in 20.19.2+dfsg-1+deb13u1) |
| Debian:14 | nodejs | All versions before 22.22.0+dfsg+~cs22.19.6-1 (fixed in 22.22.0+dfsg+~cs22.19.6-1) |