Notepad++ patches code execution flaws in config.xml and shortcuts.xml
Vulnerability Disclosure · 6 sources · Updated 5mo ago · First seen May 28, 2026

Notepad++ released v8.9.6.1 to fix three vulnerabilities affecting versions up to 8.9.6, including two arbitrary code execution flaws tracked as CVE-2026-48778 and CVE-2026-48800, and a denial-of-service crash bug tracked as CVE-2026-48770. The most serious issue involves unsafe handling of the commandLineInterpreter value in config.xml, which can be passed to ShellExecute() when a user invokes the Open Containing Folder in cmd feature, allowing attacker-controlled programs to run instead of the intended interpreter. A separate flaw in shortcuts.xml also enables arbitrary code execution, while malformed XML structures can trigger application crashes.
Advisories and follow-on reporting said exploitation could occur if an attacker can tamper with %APPDATA%\Notepad++\config.xml, abuse the -settingsDir parameter through malicious .lnk files, poison cloud-synced settings, or socially engineer users into opening archives that place malicious configuration files in writable paths. A published proof of concept demonstrated the config.xml issue by launching calc.exe. The Canadian Centre for Cyber Security urged users and administrators to apply the update, while researchers recommended restricting write access to configuration directories, validating executable paths, and monitoring shared or synced settings locations in enterprise environments.


