Maple Labs

CVE search · CVE-2025-55130

CVE-2025-55130

critical 9.1

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.

Details

Status
Modified
Published
Last changed
Source
support@hackerone.com
Weakness
CWE-289, CWE-281

Severity

VersionScoreVectorSource
CVSS 3.1 critical 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N nvd@nist.govPrimary
CVSS 3.1 high 7.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N 0b0ca135-0b70-47e7-9f44-1890c2a1c46cSecondary
CVSS 3.0 high 7.1 CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N support@hackerone.comSecondary

Affected products

Vendor and product from the NVD’s CPE applicability statements. Versions and conditions are on the NVD’s page.

References