Description
Notepad++ is a free and open-source source code editor. Prior to 8.9.6.1, the <GUIConfig name="commandLineInterpreter"> tag in config.xml is read by NppXml::value() (Parameters.cpp:6430) and stored in _nppGUI._commandLineInterpreter without any validation, whitelist, or digital signature check. When the user triggers IDM_FILE_OPEN_CMD (File → Open Containing Folder → cmd), NppCommands.cpp:228 creates a Command object with this value and calls run(), which invokes ShellExecute (RunDlg.cpp:221) with the attacker-controlled string as the executable path. This vulnerability is fixed in 8.9.6.1.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| notepad-plus-plus | notepad-plus-plus | < 8.9.6.1 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Notepad++ 8.9.6 - Arbitrary Code Execution EDB-52606 · remote · May 30, 2026
GitHub 2 repositories
-
XK3NF4/CVE-2026-48778 ★ 7 · May 30, 2026
Notepad++ RCE via config.xml commandLineInterpreter
-
kavin-jindal/CVE-2026-48778-PoC ★ 0 · May 30, 2026
CVE-2026-48778 — Notepad++ Arbitrary Code Execution PoC
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- WID-SEC-2026-1679 Notepad++: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 28, 2026