Paper/Archive/CVE-2025-55130

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

References

refnodejs.org/en/blog/vulnerability/december-2025-security-releasesrefaccess.redhat.com/security/cve/CVE-2025-55130refbugzilla.redhat.com/show_bug.cgi?id=2431352refsecurity.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-55130.jsonadvisoryaccess.redhat.com/errata/RHSA-2026:2899advisoryaccess.redhat.com/errata/RHSA-2026:1843advisoryaccess.redhat.com/errata/RHSA-2026:1842advisoryaccess.redhat.com/errata/RHSA-2026:2422advisoryaccess.redhat.com/errata/RHSA-2026:2421advisoryaccess.redhat.com/errata/RHSA-2026:2420advisoryaccess.redhat.com/errata/RHSA-2026:2768advisoryaccess.redhat.com/errata/RHSA-2026:2767advisoryaccess.redhat.com/errata/RHSA-2026:2864advisoryaccess.redhat.com/errata/RHSA-2026:2783advisoryaccess.redhat.com/errata/RHSA-2026:2782advisoryaccess.redhat.com/errata/RHSA-2026:2781advisoryaccess.redhat.com/errata/RHSA-2026:7386advisoryaccess.redhat.com/errata/RHSA-2026:7387advisoryaccess.redhat.com/errata/RHSA-2026:6402advisoryaccess.redhat.com/errata/RHSA-2026:6431