CVE-2025-23084
Description
A vulnerability has been identified in Node.js, specifically affecting the handling of drive names in the Windows environment. Certain Node.js functions do not treat drive names as special on Windows. As a result, although Node.js assumes a relative path, it actually refers to the root directory. On Windows, a path that does not start with the file separator is treated as relative to the current directory. This vulnerability affects Windows users of `path.join` API.
How to fix
- nodejs node.js18.20.6, 20.18.2, 22.13.1, 23.6.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nodejs node.js | 18.0 ≤ v < 18.20.6, 20.0 ≤ v < 20.18.2, 22.0 ≤ v < 22.13.1, 23.0 ≤ v < 23.6.1 | 18.20.6, 20.18.2, 22.13.1, 23.6.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.