Notepad-plus-plus
Notepad++: Privilege Escalation in the Installer via Uncontrolled Executable Search Path
Notepad++ is a free and open-source source code editor. From 8.9.4 until 8.9.6, Notepad++ contains a local privilege escalation vulnerability in the installer. During installation, the installer invokes powershell.exe without using an absolute path after setting the working directory to the installation contextMenu directory. If an attacker can pre-place a malicious powershell.exe in a user-writable custom installation directory, and a privileged user later runs the installer and selects that directory, the attacker-controlled executable is launched with the elevated privileges of the installer. This vulnerability is fixed in 8.9.6.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 8.9.4, < 8.9.6
Fixed in 8.9.6
Mitigation
Upgrade notepad-plus-plus to 8.9.6 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.