CVE-2025-55130
Unknown
Unknown - Not Provided
BaseFortify
Publication date: 2026-01-20
Last updated on: 2026-02-03
Assigner: HackerOne
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| nodejs | node.js | From 20.0.0 (inc) to 20.20.0 (exc) |
| nodejs | node.js | From 22.0.0 (inc) to 22.22.0 (exc) |
| nodejs | node.js | From 24.0.0 (inc) to 24.13.0 (exc) |
| nodejs | node.js | From 25.0.0 (inc) to 25.3.0 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-289 | The product performs authentication based on the name of a resource being accessed, or the name of the actor performing the access, but it does not properly check all possible names for that resource or actor. |