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.
| Version | Base score | Base severity | Vector |
|---|---|---|---|
| 3.0 | 7.1 | HIGH | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| CAPEC ID | Description |
|---|
| Event | Date |
|---|
| Hyperlink | Resource |
|---|---|
| https://nodejs.org/en/blog/vulnerability/december-2025-security-releases | N/A |
| Version | Base score | Base severity | Vector |
|---|
| CAPEC ID | Description |
|---|
| Event | Date |
|---|
| Hyperlink | Resource |
|---|
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.
| Version | Base score | Base severity | Vector |
|---|---|---|---|
| 3.1 | 7.1 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| CAPEC ID | Description |
|---|
RHSA-2026:2899: Red Hat Enterprise Linux AppStream EUS (v. 10.0)
RHSA-2026:1843: Red Hat Enterprise Linux AppStream (v. 10)
RHSA-2026:1842: Red Hat Enterprise Linux AppStream (v. 10)
RHSA-2026:2422: Red Hat Enterprise Linux AppStream (v. 8)
RHSA-2026:2421: Red Hat Enterprise Linux AppStream (v. 8)
RHSA-2026:2420: Red Hat Enterprise Linux AppStream (v. 8)
RHSA-2026:2768: Red Hat Enterprise Linux AppStream EUS (v.9.4)
RHSA-2026:2767: Red Hat Enterprise Linux AppStream EUS (v.9.6)
RHSA-2026:2864: Red Hat Enterprise Linux AppStream EUS (v.9.6)
RHSA-2026:2783: Red Hat Enterprise Linux AppStream (v. 9)
RHSA-2026:2782: Red Hat Enterprise Linux AppStream (v. 9)
RHSA-2026:2781: Red Hat Enterprise Linux AppStream (v. 9)
RHSA-2026:7386: Red Hat Hardened Images
RHSA-2026:7387: Red Hat Hardened Images
RHSA-2026:6402: Red Hat Hardened Images
RHSA-2026:6431: Red Hat Hardened Images
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Event | Date |
|---|---|
| Reported to Red Hat. | 2026-01-20 21:03:01 |
| Made public. | 2026-01-20 20:41:55 |