CVEvulnerability

CVE-2025-23084

5.5 MEDIUM Published 2025-01-28 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2025-01-28
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS 3.0 ([email protected])
5.6 MEDIUM — CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N
Weaknesses
CWE-22

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 configurations

• 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)

Related

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References