CVEvulnerability

CVE-2025-55130

9.1 CRITICAL Published 2026-01-20 Modified 2026-07-15 Official page ↗
Status
Modified
Published
2026-01-20
Last modified
2026-07-15
Assigner
[email protected]
CVSS 3.1 ([email protected])
9.1 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS 3.1 (0b0ca135-0b70-47e7-9f44-1890c2a1c46c)
7.1 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
CVSS 3.0 ([email protected])
7.1 HIGH — CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Weaknesses
CWE-281, CWE-289

Description

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 configurations

• nodejs node.js (>= 20.0.0 < 20.20.0) • nodejs node.js (>= 22.0.0 < 22.22.0) • nodejs node.js (>= 24.0.0 < 24.13.0) • nodejs node.js (>= 25.0.0 < 25.3.0)

Related

Weakness · CWE (2)

  • CWE-281 Improper Preservation of Permissions weakness
  • CWE-289 Authentication Bypass by Alternate Name weakness

References