First published: Tue Jan 21 2025(Updated: )
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.
Credit: support@hackerone.com
Affected Software | Affected Version | How to fix |
---|---|---|
Node.js |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2025-23084 is classified as a high-severity vulnerability affecting Node.js in Windows environments.
To mitigate CVE-2025-23084, update Node.js to the latest security release provided by the Node.js team.
CVE-2025-23084 affects multiple versions of Node.js prior to the patch release that addresses the vulnerability.
CVE-2025-23084 impacts the handling of drive names in Node.js on Windows, potentially leading to unintended file system access.
CVE-2025-23084 can potentially be exploited remotely if an attacker can control the input to vulnerable Node.js functions.