Nodejs node
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 20.19.6, <= 20.19.6
- >= 22.21.1, <= 22.21.1
- >= 24.12.0, <= 24.12.0
- >= 25.2.1, <= 25.2.1
Mitigation
The record names no fix. Check the vendor advisory below.
Timeline
Days relative to CVE publicationFirst public PoC 12 days after publication; not in CISA KEV. First PoC: scumfrog/CVE-2025-55130 (created 1 Feb 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| scumfrog/CVE-2025-55130 | 1 Feb 2026 +12 d | 1 | PoC via PoC Index |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.