Description
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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| 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.20.1, 17.0 – < 17.*, 18.0 – < 18.16.1, 19.0 – < 19.*, 20.0 – < 20.3.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.
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | nodejs18 | 18.16.1-150400.9.9.1 | SUSE-SU-2023:2669-1 |
| SLES 15 SP4 | nodejs16 | 16.20.1-150400.3.21.1 | SUSE-SU-2023:2663-1 |
| SLES 15 SP4 | nodejs18 | 18.16.1-150400.9.9.1 | SUSE-SU-2023:2669-1 |
| SLES 15 SP3 | nodejs16 | 16.20.1-150300.7.24.2 | SUSE-SU-2023:2861-1 |
| SLES 12 | nodejs16 | 16.20.1-8.30.1 | SUSE-SU-2023:2655-1 |
| SLES 12 | nodejs18 | 18.16.1-8.9.1 | SUSE-SU-2023:2662-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP3 | nodejs16 | 16.20.1-150300.7.24.2 | SUSE-SU-2023:2861-1 |
| SLE HPC 15 SP3 | nodejs16 | 16.20.1-150300.7.24.2 | SUSE-SU-2023:2861-1 |
| SUSE Manager Server 4.2 | nodejs16 | 16.20.1-150300.7.24.2 | SUSE-SU-2023:2861-1 |
| SUSE Enterprise Storage 7.1 | nodejs16 | 16.20.1-150300.7.24.2 | SUSE-SU-2023:2861-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | nodejs20 | 20.3.1-1.1 | openSUSE-SU-2024:13021-1 |
| openSUSE Leap 15.5 | nodejs18 | 18.16.1-150400.9.9.1 | SUSE-SU-2023:2669-1 |
| openSUSE Leap 15.4 | nodejs16 | 16.20.1-150400.3.21.1 | SUSE-SU-2023:2663-1 |
| openSUSE Leap 15.4 | nodejs18 | 18.16.1-150400.9.9.1 | SUSE-SU-2023:2669-1 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | nodejs-16 | 16.20.1-r0 | — |
| Wolfi rolling | nodejs-18 | 18.16.1-r0 | — |
| Wolfi rolling | nodejs-20 | 20.3.1-r0 | — |
Advisories 10
- WID-SEC-2023-1523 Node.js: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 8, 2026
- WID-SEC-2023-2917 Xerox FreeFlow Print Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 30, 2026
- SUSE-SU-2023:2663-1 Security update for nodejs16 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:13021-1 corepack20-20.3.1-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2861-1 Security update for nodejs16 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2669-1 Security update for nodejs18 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:2655-1 Security update for nodejs16 SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2023:2662-1 Security update for nodejs18 SUSE / openSUSE Security Updates · May 2, 2025
- ICSA-24-046-15 Siemens SINEC NMS CISA ICS & IT advisories · Mar 12, 2024
- SSA-943925 SSA-943925: Multiple Vulnerabilities in SINEC NMS before V2.0 SP1 Siemens ProductCERT · Mar 12, 2024