CVE
CVE-2025-55130
CNA 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.
Affected versions
- ≥ 25.0.0, < 25.3.0Fixed in 25.3.0
- ≥ 24.0.0, < 24.13.0Fixed in 24.13.0
- ≥ 22.0.0, < 22.22.0Fixed in 22.22.0
- ≥ 20.0.0, < 20.20.0Fixed in 20.20.0
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- nodejs.org/en/blog/vulnerability/december-2025-security-releases · Release Notes, Vendor Advisory
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.