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.
{
"unresolved_ranges": [
{
"extracted_events": [
{
"introduced": "4.0"
},
{
"fixed": "4.*"
},
{
"introduced": "5.0"
},
{
"fixed": "5.*"
},
{
"introduced": "6.0"
},
{
"fixed": "6.*"
},
{
"introduced": "7.0"
},
{
"fixed": "7.*"
},
{
"introduced": "8.0"
},
{
"fixed": "8.*"
},
{
"introduced": "9.0"
},
{
"fixed": "9.*"
},
{
"introduced": "10.0"
},
{
"fixed": "10.*"
},
{
"introduced": "11.0"
},
{
"fixed": "11.*"
},
{
"introduced": "12.0"
},
{
"fixed": "12.*"
},
{
"introduced": "13.0"
},
{
"fixed": "13.*"
},
{
"introduced": "14.0"
},
{
"fixed": "14.*"
},
{
"introduced": "15.0"
},
{
"fixed": "15.*"
},
{
"introduced": "16.0"
},
{
"fixed": "16.*"
},
{
"introduced": "17.0"
},
{
"fixed": "17.*"
},
{
"introduced": "18.0"
},
{
"fixed": "18.20.6"
},
{
"introduced": "19.0"
},
{
"fixed": "19.*"
},
{
"introduced": "20.0"
},
{
"fixed": "20.18.2"
},
{
"introduced": "21.0"
},
{
"fixed": "21.*"
},
{
"introduced": "22.0"
},
{
"fixed": "22.13.1"
},
{
"introduced": "23.0"
},
{
"fixed": "23.6.1"
}
],
"source": "AFFECTED_FIELD"
}
],
"cna_assigner": "hackerone",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/23xxx/CVE-2025-23084.json"
}{
"cpe": "cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*",
"extracted_events": [
{
"introduced": "18.0"
},
{
"fixed": "18.20.6"
},
{
"introduced": "20.0"
},
{
"fixed": "20.18.2"
},
{
"introduced": "22.0"
},
{
"fixed": "22.13.1"
},
{
"introduced": "23.0"
},
{
"fixed": "23.6.1"
}
],
"source": "CPE_RANGE"
}