CVE-2025-55130 Path traversal in node

High 7.1 Published Updated

Attackers can bypass Node.js permission restrictions using crafted symlinks to read or write arbitrary files outside allowed directories.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-55130?

CVE-2025-55130 is a high-severity path traversal vulnerability in Nodejs Node.js, published on 20 Jan 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-281, CWE-289

Which versions are affected by CVE-2025-55130?

2 open source packages ship an affected version, including node and node-min. It affects 1 product.

PackageAffectedFixed in
node BitnamiFrom 20.0.020.20.0, 22.22.0, 24.13.0, 25.3.0
node-min BitnamiFrom 20.0.020.20.0, 22.22.0, 24.13.0, 25.3.0

Products include Nodejs Node.js.

How do I fix CVE-2025-55130?

Upgrade node to a fixed version for your release line: 20.20.0, 22.22.0, 24.13.0 or 25.3.0.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2025-55130 being exploited?

There is no known exploitation of CVE-2025-55130 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

All Nodejs Node.js vulnerabilities

Sources

Also known as ALPINE-CVE-2025-55130, AZL-74988, BELL-CVE-2025-55130, BIT-node-2025-55130, BIT-node-min-2025-55130, CLEANSTART-2026-TF09981 and 9 more.

Is CVE-2025-55130 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free