cbcvebase.
CVE-2025-55130
published 2026-01-20

CVE-2025-55130: 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…

critical9.1CVSS 3.1
AVNACLPRNUINSUCHIHAN
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

14 ranges
VendorProductVersion rangeFixed in
debiannodejs< nodejs 22.22.0+dfsg+~cs22.19.6-1 (forky)nodejs 22.22.0+dfsg+~cs22.19.6-1 (forky)
nodejsnode20.19.6 – 20.19.6
nodejsnode22.21.1 – 22.21.1
nodejsnode24.12.0 – 24.12.0
nodejsnode25.2.1 – 25.2.1
nodejsnode.js>= 20.0.0 < 20.20.020.20.0
nodejsnode.js>= 22.0.0 < 22.22.022.22.0
nodejsnode.js>= 24.0.0 < 24.13.024.13.0
nodejsnode.js>= 25.0.0 < 25.3.025.3.0
nodejsnodejs>= 0 < 22.22.2-r022.22.2-r0
nodejsnodejs>= 0 < 22.22.0-r022.22.0-r0
nodejsnodejs>= 0 < 24.13.0-r024.13.0-r0
nodejsnodejs>= 0 < 20.19.2+dfsg-1+deb13u120.19.2+dfsg-1+deb13u1
nodejsnodejs>= 0 < 22.22.0+dfsg+~cs22.19.6-122.22.0+dfsg+~cs22.19.6-1

CVSS provenance

nvdv3.19.1CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
osv9.1CRITICAL