CVE Program
CNA-CVE-2025-23084
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Node.js | node | From 4.0 before 5 From 5.0 before 6 From 6.0 before 7 From 7.0 before 8 From 8.0 before 9 From 9.0 before 10 From 10.0 before 11 From 11.0 before 12 From 12.0 before 13 From 13.0 before 14 From 14.0 before 15 From 15.0 before 16 From 16.0 before 17 From 17.0 before 18 From 18.0 before 18.20.6 (fixed in 18.20.6) From 19.0 before 20 From 20.0 before 20.18.2 (fixed in 20.18.2) From 21.0 before 22 From 22.0 before 22.13.1 (fixed in 22.13.1) From 23.0 before 23.6.1 (fixed in 23.6.1) |