CVE-2026-46710CWE-426

Notepad++: Privilege Escalation in the Installer via Uncontrolled Executable Search Path

High · published June 26, 2026

CVSS v4.0
7.5
EPSS
0%
Percentile
4.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
7.5 · HIGH
Vector
CVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS
0.00152 · 4.0th percentile
Weakness
CWE-426 · Untrusted Search Path
Published
2026-06-26T20:16Z
EPSS history
Timeline
  • 26 JUN 20:16Z
    Notepad++: Privilege Escalation in the Installer via Uncontrolled Executable Search Path
    cvelistv5