Node.js 18 and 3 others: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CVE-2025-23084 is fixed in 4 products on 1 platform, first by Node.js 18 18.20.6, released January 21, 2025. It is not reported as exploited. Patch Radar priority: Routine.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Windows apps | |||
| Node.js 18 | 18.20.6 | Node.js 18 18.20.6 | Jan 21, 2025 |
| Node.js 20 | 20.18.2 | Node.js 20 20.18.2 | Jan 21, 2025 |
| Node.js 22 | 22.13.1 | Node.js 22 22.13.1 | Jan 21, 2025 |
| Node.js 23 | 23.6.1 | Node.js 23 23.6.1 | Jan 21, 2025 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.