CVE-2025-23084
- State
- Published
- Severity
- 5.6 Medium
- Published
- Jan 28, 2025
- Updated
- Nov 4, 2025
- Reserved
- Jan 10, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.0 | 5.6 Medium | CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N | hackerone |
Weaknesses
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Products
| Product | Versions |
|---|---|
NodeNodeJS |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.