CVE-2025-27210 Path traversal in node
Incomplete fix for Windows device name handling in Node.js path.join allows attackers to bypass path restrictions and access or modify files.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-27210?
CVE-2025-27210 is a high-severity path traversal vulnerability in nodejs node, published on 18 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An incomplete fix has been identified for CVE-2025-23084 in Node.js, specifically affecting Windows device names like CON, PRN, and AUX. This vulnerability affects Windows users of `path.join` API.
Weakness: CWE-22
Which versions are affected by CVE-2025-27210?
2 open source packages ship an affected version, including node and node-min.
| Package | Affected | Fixed in |
|---|---|---|
node Bitnami | From 4.0.0 | 20.19.4, 22.17.1, 24.4.1 |
node-min Bitnami | From 4.0.0 | 20.19.4, 22.17.1, 24.4.1 |
How do I fix CVE-2025-27210?
Upgrade node to a fixed version for your release line: 20.19.4, 22.17.1 or 24.4.1.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2025-27210 being exploited?
There is no known exploitation of CVE-2025-27210 in the wild and no public exploit code.
Public exploit code: 1 Exploit-DB entry and 2 proofs of concept on GitHub.
Sources
Also known as BIT-node-2025-27210, BIT-node-min-2025-27210, GHSA-x33r-pvvq-wjrh, MINI-486q-m78q-mfxg, MINI-crrj-58q2-4qp4, MINI-h3hv-7pgm-vjcx and 2 more.