Skip to content
OpenAdvisories
Medium · 5.6 CVE-2025-23084 EUVD-2025-3112GHSA-37v4-cwgp-x353

A vulnerability has been identified in Node.js, specifically affecting the handling of drive names in the Windows environment. Certain Node…

Published Jan 28, 2025 · Updated Nov 4, 2025 · Assigned by hackerone

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 products

VendorProductAffectedFixed
NodeJS Node 4.0 – < 4.*, 5.0 – < 5.*, 6.0 – < 6.*, 7.0 – < 7.*, 8.0 – < 8.*, 9.0 – < 9.*, 10.0 – < 10.*, 11.0 – < 11.*, 12.0 – < 12.*, 13.0 – < 13.*, 14.0 – < 14.*, 15.0 – < 15.*, 16.0 – < 16.*, 17.0 – < 17.*, 18.0 – < 18.20.6, 19.0 – < 19.*, 20.0 – < 20.18.2, 21.0 – < 21.*, 22.0 – < 22.13.1, 23.0 – < 23.6.1 4.*

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Alpine v3.24 nodejs 22.13.1-r0 —
Alpine v3.23 nodejs 22.13.1-r0 —
Alpine v3.22 nodejs 22.13.1-r0 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling nodejs-16 16.20.2-r16 —
Wolfi rolling nodejs-21 21.7.3-r13 —

Advisories 4

References