Description
Notepad++ is a free and open-source source code editor. Prior to 8.9.7, the Notepad++ Windows 11 x64 and ARM64 installer passes the attacker-influenced installation directory `$INSTDIR` from PowerEditor/installer/nppSetup.nsi into a PowerShell `-Command` string used by RegisterMSIX to invoke Add-AppxPackage, allowing PowerShell subexpression syntax such as `$()` in the installation path to execute commands in the installer's security context when the context menu component is selected. This issue is fixed in version 8.9.7.
Published: 2026-08-11
Score: 5.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Untrusted input in the installer’s $INSTDIR variable is passed unvalidated to a PowerShell command that registers an MSIX package. An attacker can inject PowerShell subexpression syntax such as $() in the chosen installation path, causing arbitrary commands to be executed in the installer’s security context. The vulnerability, identified as a command injection flaw, may allow the execution of malware or privileged code during the setup process, posing a moderate risk to confidentiality, integrity, and availability of the affected system. The CVSS score, 5.4, reflects the medium severity of the flaw.

Affected Systems

Notepad++ for Windows 11, both x64 and ARM64 installers, versions prior to 8.9.7 are affected. The vulnerability is specifically tied to the Windows 11 x64 and ARM64 installers that accept a user‑specified installation directory. Users who installed any of these versions before the 8.9.7 release are potentially exposed.

Risk and Exploitability

Because the flaw requires the attacker to control the installation directory during a legitimate software installation, the attack vector is local but only applicable when an installation is performed. The EPSS score, less than 1 percent, indicates a very low probability of exploitation in the wild, and the vulnerability is not listed in the CISA KEV catalog, further suggesting limited exploitation activity. The CVSS of 5.4, combined with the low EPSS, suggests a moderate risk that can be mitigated by addressing the described issue. The attacker would need to provide a malicious installation path that includes PowerShell subexpression syntax, and the context menu component of the installer must be selected for the injected command to run.

Generated by OpenCVE AI on August 12, 2026 at 19:16 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Notepad++ version 8.9.7 or later, which removes the vulnerability.
  • During installation, ensure the chosen installation directory contains only simple, alphanumeric names and no shell metacharacters such as $ or () .
  • Only obtain installer packages from the official Notepad++ GitHub releases or the official website to prevent tampering.

Generated by OpenCVE AI on August 12, 2026 at 19:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 13 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 13 Aug 2026 10:45:00 +0000

Type Values Removed Values Added
First Time appeared Notepad-plus-plus
Notepad-plus-plus notepad++
Vendors & Products Notepad-plus-plus
Notepad-plus-plus notepad++

Tue, 11 Aug 2026 22:30:00 +0000

Type Values Removed Values Added
Description Notepad++ is a free and open-source source code editor. Prior to 8.9.7, the Notepad++ Windows 11 x64 and ARM64 installer passes the attacker-influenced installation directory `$INSTDIR` from PowerEditor/installer/nppSetup.nsi into a PowerShell `-Command` string used by RegisterMSIX to invoke Add-AppxPackage, allowing PowerShell subexpression syntax such as `$()` in the installation path to execute commands in the installer's security context when the context menu component is selected. This issue is fixed in version 8.9.7.
Title Notepad++: Install-time PowerShell command injection through installation path
Weaknesses CWE-77
References
Metrics cvssV4_0

{'score': 5.4, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Notepad-plus-plus Notepad++
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-13T15:14:20.427Z

Reserved: 2026-08-11T17:18:01.598Z

Link: CVE-2026-73250

cve-icon Vulnrichment

Updated: 2026-08-13T15:14:13.244Z

cve-icon NVD

Status : Received

Published: 2026-08-11T23:18:10.320

Modified: 2026-08-13T16:19:03.927

Link: CVE-2026-73250

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-13T10:30:04Z

Weaknesses
  • CWE-77

    Improper Neutralization of Special Elements used in a Command ('Command Injection')