CVE-2025-23084Nodejs Node.js Path Traversal
NVDCVSS scored by NVD (NIST)
Vulnerability Summary
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.
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.
CVSS v3.1 Base Metrics — Score 5.5 (MEDIUM)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NAttack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityNone
AvailabilityNone
Affected & Patched Versions
- Nodejs Node.js >= 18.0 and < 18.20.6
- Nodejs Node.js >= 20.0 and < 20.18.2
- Nodejs Node.js >= 22.0 and < 22.13.1
- Nodejs Node.js >= 23.0 and < 23.6.1
- Nodejs Node.js 18.20.6
- Nodejs Node.js 20.18.2
- Nodejs Node.js 22.13.1
- Nodejs Node.js 23.6.1
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run Nodejs Node.js and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Jan 28, 2025Published
- Aug 19, 2025Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Nodejs Node.js CVEsYou are reading CVE-2025-23084. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsRelated Coverage
External References
Data last checked: Nov 19, 2026 00:23 UTC