CVE Watchtower

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.
Severity Level
MEDIUM(5.5)
Published Date
Jan 28, 2025
Last Modified
Aug 19, 2025
Exploitation Status
No confirmed exploitation yet
Root Weakness (CWE)
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.
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:N
Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityNone
AvailabilityNone

Affected & Patched Versions

Affected 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
Patched Versions
  • 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.

  1. Check whether you run Nodejs Node.js and which version.
  2. 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 alerts

Data last checked: Nov 19, 2026 00:23 UTC