JLSEC-2026-1933: A vulnerability has been identified in the Node.js (.msi version) installation process,...
A vulnerability has been identified in the Node.js (.msi version) installation process, specifically affecting Windows users who install Node.js using the .msi installer. This vulnerability emerges during the repair operation, where the "msiexec.exe" process, running under the NT AUTHORITY\SYSTEM context, attempts to read the %USERPROFILE% environment variable from the current user's registry.
The issue arises when the path referenced by the %USERPROFILE% environment variable does not exist. In such cases, the "msiexec.exe" process attempts to create the specified path in an unsafe manner, potentially leading to the creation of arbitrary folders in arbitrary locations.
The severity of this vulnerability is heightened by the fact that the %USERPROFILE% environment variable in the Windows registry can be modified by standard (or "non-privileged") users. Consequently, unprivileged actors, including malicious entities or trojans, can manipulate the environment variable key to deceive the privileged "msiexec.exe" process. This manipulation can result in the creation of folders in unintended and potentially malicious locations.
It is important to note that this vulnerability is specific to Windows users who install Node.js using the .msi installer. Users who opt for other installation methods are not affected by this particular issue.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/NodeJS_16_jllto a version that resolves this vulnerability.Fixed in 16.20.2+0 - Upgrade
Upgrade
julia/NodeJS_18_jllto a version that resolves this vulnerability.Fixed in 18.16.1+0
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Who is exposed to this issue?
Windows users who install Node.js using the .msi installer are affected during a repair operation. The listed software packages are julia/nodejs_16_jll, julia/nodejs_18_jll, and julia/libnode_jll.
What does an attacker need to exploit it?
An unprivileged local user, malicious program, or trojan must be able to modify that user's %USERPROFILE% environment-variable registry value and set it to a path that does not exist. During a repair operation, msiexec.exe running as NT AUTHORITY\SYSTEM may then create the referenced path unsafely.