Node.js Permission Model Symlink Escape (CVE-2025-55130)
Published: 2026-09-03 • Researcher: natann (JFrog Security Research), scumfrog (PoC)
- Severity
- Critical
- CVE
- CVE-2025-55130
- Category
- binary
- Affected product
- Node.js
- Affected versions
- 20.x < 20.20.0, 22.x < 22.22.0, 24.x < 24.13.0, 25.x < 25.3.0
- Disclosed
- 2026-09-03
- Patch status
- Unverified
References
Archive entry
intelseclab/poc-archiveOn this page
Metadata
| Field | Value |
|---|---|
| Date Added | 2026-09-03 |
| Author / Researcher | natann (JFrog Security Research), scumfrog (PoC) |
| CVE / Advisory | CVE-2025-55130 |
| Category | binary |
| Severity | Critical |
| CVSS Score | 9.1 |
| Status | Weaponized |
| Tags | sandbox escape, Node.js, symlink, path traversal, permission model, JavaScript |
Affected Target
| Field | Value |
|---|---|
| Software / System | Node.js |
| Versions Affected | 20.x < 20.20.0, 22.x < 22.22.0, 24.x < 24.13.0, 25.x < 25.3.0 |
| Language / Platform | JavaScript / Node.js |
| Authentication Required | Yes (local shell with Node.js permission model active) |
| Network Access Required | Local only |
Summary
CVE-2025-55130 is a flaw in the Node.js Permissions model that allows bypassing --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 sandbox and read or write arbitrary files on the system.
Vulnerability Details
Root Cause
The permission check and path resolution happen separately. The initial path passes the permission check (it starts with ./), then the symlink is followed and traversal sequences escape the sandbox.
Attack Vector
- Create a nested directory chain with a symlink pointing to an absolute path
- Construct a payload path that passes the permission check but resolves outside the sandbox
- Read or write arbitrary files
Impact
Full sandbox escape allowing arbitrary file read/write, breaking the isolation guarantees of the Node.js permission model.
References
Notes
Auto-ingested from https://github.com/scumfrog/CVE-2025-55130 on 2026-09-03.
| |