CVE-2026-46710
Received Received - Intake
Local Privilege Escalation in Notepad++ Installer

Publication date: 2026-06-26

Last updated on: 2026-06-26

Assigner: GitHub, Inc.

Description
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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-26
Last Modified
2026-06-26
Generated
2026-06-27
AI Q&A
2026-06-27
EPSS Evaluated
N/A
NVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
notepad%2b%2b notepad%2b%2b to 8.9.6 (exc)
notepad%2b%2b notepad%2b%2b 8.9.6
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-426 The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability exists in the Notepad++ installer versions from 8.9.4 to 8.9.6. During installation, the installer runs powershell.exe without specifying its absolute path after changing the working directory to the installation contextMenu directory.

If an attacker can place a malicious powershell.exe executable in a user-writable custom installation directory before installation, and a privileged user later runs the installer selecting that directory, the attacker's executable will be launched with elevated privileges.

This is a local privilege escalation vulnerability because it allows an attacker to gain higher privileges on the system by tricking the installer into running their malicious code.

Impact Analysis

This vulnerability can allow an attacker with limited access to a system to escalate their privileges to those of the installer, which typically runs with elevated or administrative rights.

By exploiting this, an attacker could execute arbitrary code with higher privileges, potentially leading to full system compromise, unauthorized access to sensitive data, or the ability to install persistent malware.

Mitigation Strategies

To mitigate this local privilege escalation vulnerability in Notepad++ installer, ensure that you update Notepad++ to version 8.9.6 or later where the issue is fixed.

Additionally, avoid running the installer from user-writable custom installation directories where an attacker could place a malicious powershell.exe.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-46710. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart