ADVISORIES

Vulnerability

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.

13 advisories report this vulnerability, across 5 ecosystems.

Advisories

  • CGA-2qh8-j98r-vcxg
    CVE-2023-30585 ChainguardWolfi Updated 5 November 2026
  • CGA-4mjx-3gfx-5fp9
    CVE-2023-30585 ChainguardWolfi Updated 5 November 2026
  • CGA-84gh-rxf8-xx25
    CVE-2023-30585 ChainguardWolfi Updated 5 November 2026
  • CGA-mx9g-m7f9-m3vq
    CVE-2023-30585 ChainguardWolfi Updated 5 November 2026
  • CGA-qrcg-57q9-qg7v
    CVE-2023-30585 ChainguardWolfi Updated 5 November 2026
  • CGA-wx99-r7j3-vc3r
    CVE-2023-30585 ChainguardWolfi Updated 5 November 2026
  • CNA-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…

    CVE-2023-30585 Node.js Updated 8 October 2026
  • SUSE-SU-2023:2655-1

    Security update for nodejs16

    CVE-2023-30581CVE-2023-30585CVE-2023-30588CVE-2023-30589 SUSE Updated 2 May 2025
  • SUSE-SU-2023:2662-1

    Security update for nodejs18

    CVE-2022-25881CVE-2023-30581CVE-2023-30585CVE-2023-30588 SUSE Updated 2 May 2025
  • SUSE-SU-2023:2663-1

    Security update for nodejs16

    CVE-2023-30581CVE-2023-30585CVE-2023-30588CVE-2023-30589 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2023:2669-1

    Security update for nodejs18

    CVE-2022-25881CVE-2023-30581CVE-2023-30585CVE-2023-30588 SUSEopenSUSE Updated 4 February 2026
  • SUSE-SU-2023:2861-1

    Security update for nodejs16

    CVE-2023-30581CVE-2023-30585CVE-2023-30588CVE-2023-30589 SUSE Updated 4 February 2026
  • openSUSE-SU-2024:13021-1

    corepack20-20.3.1-1.1 on GA media

    CVE-2023-30581CVE-2023-30582CVE-2023-30583CVE-2023-30584 openSUSE Updated 4 February 2026

References