ADVISORIES

CVE Program

CNA-CVE-2025-55130

No fix available CVE-2025-55130

Details

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 packages

EcosystemPackageAffected versions
Node.jsnode
From 20.0.0 up to and including 20.19.6
From 22.0.0 up to and including 22.21.1
From 24.0.0 up to and including 24.12.0
From 25.0.0 up to and including 25.2.1

References