CVE-2025-23084: Path traversal by drive name in Windows environment

Published 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.

Affected Software

12 affected componentsFixes available
Node.js Node.js
All of the following
Any of the following
Nodejs Node.js>=18.0<18.20.6
Nodejs Node.js>=20.0<20.18.2
Nodejs Node.js>=22.0<22.13.1
Nodejs Node.js>=23.0<23.6.1
Microsoft Windows
All of the following
Node.js Node.js>=18.0.0<18.20.6, >=20.0.0<20.18.2, >=22.0.0<22.13.1, >=23.0.0<23.6.1
18.20.620.18.222.13.123.6.1
Microsoft Windows*
Node.js Node.js>=20.0.0<20.18.2
20.18.2
Node.js Node.js>=18.0.0<18.20.6
18.20.6
Node.js Node.js>=22.0.0<22.13.1
22.13.1
Node.js Node.js>=23.0.0<23.6.1
23.6.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 18.20.6Fixed in 20.18.2Fixed in 22.13.1Fixed in 23.6.1
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 20.18.2
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 18.20.6
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 22.13.1
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 23.6.1

Event History

Jan 21, 2025
CVE Published
via Node.js·03:00 AM
Data Sourced
via Node.js·03:00 AM
DescriptionSeverityAffected Software
Jan 28, 2025
CVE Published
via MITRE·04:35 AM
Data Sourced
via MITRE·04:35 AM
DescriptionSeverity
Data Sourced
via NVD·05:15 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-23084?

CVE-2025-23084 is classified as a high-severity vulnerability affecting Node.js in Windows environments.

2

How do I fix CVE-2025-23084?

To mitigate CVE-2025-23084, update Node.js to the latest security release provided by the Node.js team.

3

Which versions of Node.js are affected by CVE-2025-23084?

CVE-2025-23084 affects multiple versions of Node.js prior to the patch release that addresses the vulnerability.

4

What does CVE-2025-23084 impact in Node.js?

CVE-2025-23084 impacts the handling of drive names in Node.js on Windows, potentially leading to unintended file system access.

5

Can CVE-2025-23084 be exploited remotely?

CVE-2025-23084 can potentially be exploited remotely if an attacker can control the input to vulnerable Node.js functions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203