Good news first: if you’ve never started Node with --permission (spelled --experimental-permission on Node 20), this one doesn’t affect you.
At a glance
- CVE: CVE-2025-55130
- Severity: 9.1 (Critical) at NVD. Node.js rates it High, and the score from HackerOne (the CVE’s issuer) is 7.1, because it treats this as a local attack.
- Affected: Node.js 20.x before 20.20.0, 22.x before 22.22.0, 24.x before 24.13.0 and 25.x before 25.3.0, and only when the permission model is turned on.
- Known exploited: Not on CISA’s KEV list.
What’s going on
Node’s permission model lets you limit what a process can touch. Start it with --permission and file access is blocked unless you grant it, for example node --permission --allow-fs-read=/tmp/ index.js. Access outside what you granted throws ERR_ACCESS_DENIED.
The bug: by chaining directories and relative symlinks, a script that was only allowed into the current directory could step outside it. Node says that breaks the isolation the flags are supposed to give you and allows arbitrary file reads and writes, which could lead to a full system compromise. The fix makes Node’s symlink APIs require full read and write permission.
Who should care? Only people who run Node with the permission model on and count on --allow-fs-read / --allow-fs-write to keep code inside certain folders. It’s also a good reminder of something Node’s docs say plainly: the permission model is a “seat belt” for trusted code. It isn’t a sandbox for untrusted code, which can get around it.
Timeline
- Patch released: 2026-01-13 (Node.js security releases. Node had first planned them for around 2025-12-15)
- Published on NVD: 2026-01-20
- Node.js 20 end-of-life: 2026-04-30
- Node.js 25 end-of-life: 2026-06-01
== UPDATE ==
The January 2026 security releases fixed it on every line that was supported then.
- Patch available: Yep.
- Fixed in: Node.js 20.20.0, 22.22.0, 24.13.0 and 25.3.0. Node 20 and 25 have since reached end-of-life, so if you’re on either, plan a move to a supported LTS line (22, 24 or 26). Later releases on each line include the fix, so check nodejs.org for the current version.
- How to apply: Upgrade Node to the current release on your line, whether that’s via nvm, your OS packages or your Docker base image, then redeploy. After the fix, the symlink APIs need full read and write permission, so code that creates symlinks under narrow
--allow-fs-*grants may now getERR_ACCESS_DENIED. - If you can’t patch yet: Node’s advisory doesn’t list a workaround. Node’s docs already warn that symlinks are followed even outside the paths you’ve granted, so make sure none of your granted paths contain relative symlinks. And don’t rely on the permission model to contain code you don’t trust.
References
- https://nodejs.org/en/blog/vulnerability/december-2025-security-releases
- https://nodejs.org/en/blog/release/v20.20.0
- https://nodejs.org/en/blog/release/v25.3.0
- https://nodejs.org/api/permissions.html
- https://github.com/nodejs/release#release-schedule
- https://nvd.nist.gov/vuln/detail/CVE-2025-55130
- https://access.redhat.com/security/cve/CVE-2025-55130