CVE
CVE-2025-23084
CNA 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.
Affected versions
- ≥ 23.0, < 23.6.1Fixed in 23.6.1
- ≥ 22.0, < 22.13.1Fixed in 22.13.1
- ≥ 20.0, < 20.18.2Fixed in 20.18.2
- ≥ 18.0, < 18.20.6Fixed in 18.20.6
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- nodejs.org/en/blog/vulnerability/january-2025-security-releases · Vendor Advisory
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.