CVE-2025-55130
nodejs node — A flaw in Node.js’s Permissions model allows attackers to bypass `--allow-fs-read` and `--allow-fs-write` restrictions using crafted rela…
Description · from the CVE record
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
ProductAffectedFixed inSource
node20.19.6 – 20.19.6–CNA
node22.21.1 – 22.21.1–CNA
node24.12.0 – 24.12.0–CNA
node25.2.1 – 25.2.1–CNA
Red Hat Enterprise Linux 10see advisory1:24.13.0-1.el10_1redhat-SADP
Red Hat Enterprise Linux 10see advisory1:22.22.0-3.el10_1redhat-SADP
Red Hat Enterprise Linux 10.0 Extended Update Supportsee advisory1:22.22.0-1.el10_0redhat-SADP
Red Hat Enterprise Linux 8see advisory8100020260116121421.6d880403redhat-SADP
Red Hat Enterprise Linux 8see advisory8100020260119091831.6d880403redhat-SADP
Red Hat Enterprise Linux 8see advisory8100020260119100525.489197e6redhat-SADP
Red Hat Enterprise Linux 9see advisory9070020260117213814.rhel9redhat-SADP
Red Hat Enterprise Linux 9see advisory9070020260117213838.rhel9redhat-SADP
Scores by source
NVD9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
hackerone (CNA)7.1CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
redhat-SADP (CNA)7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: total