CVE-2023-30585

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.

Published: 2023-11-27 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2023-30585 is rated Moderate Risk (54.8/100): CVSS High severity, with medium exploitation likelihood (EPSS 1.47%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2023-30585

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-21 1.22% 1.47% +0.24%
2 2026-06-15 2.12% 1.22% -0.90%
3 2026-03-04 2.12%

Full EPSS history (40 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2023-30585

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:N)
Service keeps running; no real outage angle.
3.9 3.6 [email protected]

Weakness enumeration for CVE-2023-30585

OS Trackers for CVE-2023-30585

vendor priority summary link
alpine CVE-2023-30585: 1 source package rows (nodejs); 32 state rows across 5 repos (3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 0, open 32. https://security.alpinelinux.org/vuln/CVE-2023-30585
debian unimportant CVE-2023-30585 unimportant priority: Debian including 1 source packages (nodejs), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2023-30585
redhat medium https://access.redhat.com/security/cve/CVE-2023-30585
suse medium CVE-2023-30585 severity moderate: SUSE including 35 source package names (16-18.3:nodejs16-16.20.1-150400.3.21.1, 16-18.3:npm16-16.20.1-150400.3.21.1, …), 137 product×package rows across 20 product lines (Container bci/nodejs, SUSE Enterprise Storage 7, … (20 product lines)): Fixed 96, Known Not Affected 41. https://www.suse.com/security/cve/CVE-2023-30585/
ubuntu medium CVE-2023-30585 medium priority: Ubuntu including 1 source packages (nodejs), 10 status rows across 10 suites (bionic, focal, jammy, kinetic, lunar, mantic, noble, trusty, upstream, xenial): not-affected 8, ignored 2. https://ubuntu.com/security/CVE-2023-30585

Affected software / configurations for CVE-2023-30585

Vendor Product Version Raw CPE
nodejs node.js >= 16.0.0, < 16.20.1 cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:*
nodejs node.js >= 18.0.0, < 18.16.1 cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:*
nodejs node.js >= 20.0.0, < 20.3.1 cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:*

References for CVE-2023-30585

cvelogic Threat Intelligence