# CVE-2026-73250: Notepad++: Install-time PowerShell command injection through installation path

- Severity: Medium 5.4 (CVSS:4.0, scored by GitHub_M) `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`
- 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): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-08-11T22:04:54.574Z
- Modified: 2026-09-09T20:58:37.713Z
- Weaknesses: CWE-77
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- notepad-plus-plus notepad-plus-plus: < 8.9.7

## References

- <https://github.com/notepad-plus-plus/notepad-plus-plus/security/advisories/GHSA-gp2r-262h-9hgf>
- <https://github.com/notepad-plus-plus/notepad-plus-plus/commit/3764d5b72664ef95421bc53bcb204f9b977d346b>
- <https://github.com/notepad-plus-plus/notepad-plus-plus/releases/tag/v8.9.7>

## Sources

- CVE List: [CVE-2026-73250](https://www.cve.org/CVERecord?id=CVE-2026-73250), CVE Terms of Use, modified 2026-08-13
- NVD: [CVE-2026-73250](https://nvd.nist.gov/vuln/detail/CVE-2026-73250), Public domain, modified 2026-09-09

---

Page: https://cve.day/CVE-2026-73250 · Whole record: https://cve.day/CVE-2026-73250.json · Rebuilt by cve.day 2026-11-25T22:59:32.527Z
