# CVE-2023-30585: A vulnerability has been identified in the Node.js (.msi version) installation process, specifically affecting Windows users who install No…

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.47%, higher than 74% of CVEs (2026-12-01)
- Published: 2023-11-28T01:23:08.734Z
- Modified: 2026-10-08T22:17:23.563Z
- Also known as: BIT-NODE-2023-30585, BIT-NODE-MIN-2023-30585
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: hackerone

## 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.

(As written by CVE List.)

## Affected

- NodeJS Node: from 4.0 before 4.*; from 5.0 before 5.*; from 6.0 before 6.*; from 7.0 before 7.*; from 8.0 before 8.*; from 9.0 before 9.*; from 10.0 before 10.*; from 11.0 before 11.*; from 12.0 before 12.*; from 13.0 before 13.*; from 14.0 before 14.*; from 15.0 before 15.*; and 5 more
- nodejs node.js: from 16.0.0 before 16.20.1; from 18.0.0 before 18.16.1; from 20.0.0 before 20.3.1
- node (Bitnami): from 16.0.0 before 16.20.1; from 18.0.0 before 18.16.1; from 20.0.0 before 20.3.1
- node-min (Bitnami): from 16.0.0 before 16.20.1; from 18.0.0 before 18.16.1; from 20.0.0 before 20.3.1

## Every score

- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://nodejs.org/en/blog/vulnerability/june-2023-security-releases> (advisory, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20241101-0011/> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-30585> (web)

## Sources

- CVE List: [CVE-2023-30585](https://www.cve.org/CVERecord?id=CVE-2023-30585), CVE Terms of Use, modified 2026-10-08
- NVD: [CVE-2023-30585](https://nvd.nist.gov/vuln/detail/CVE-2023-30585), Public domain, modified 2026-10-08
- Bitnami Vulnerability Database: [BIT-NODE-2023-30585](https://osv.dev/vulnerability/BIT-NODE-2023-30585), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-NODE-MIN-2023-30585](https://osv.dev/vulnerability/BIT-NODE-MIN-2023-30585), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-30585 · Whole record: https://cve.day/CVE-2023-30585.json · Rebuilt by cve.day 2026-11-25T22:58:30.748Z
