Node.js path.join mishandles Windows drive names (CVE-2025-23084)
CVE-2025-23084 Published on January 28, 2025

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.

NVD

Weakness Type

What is a Directory traversal Vulnerability?

The software uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the software does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

CVE-2025-23084 has been classified to as a Directory traversal vulnerability or weakness.


Products Associated with CVE-2025-23084

stack.watch emails you whenever new vulnerabilities are published in Oracle or nodejs node.js. Just hit a watch button to start following.

 
 

Affected Versions

NodeJS Node:

Exploit Probability

EPSS
1.32%
Percentile
79.71%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.