RCE in Notepad-Plus-Plus Notepad\+\+
CVE-2026-48778
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.006, 50.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Notepad-Plus-Plus Notepad\+\+
- Notepad-Plus-Plus — versions < 8.9.6.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- XK3NF4/CVE-2026-48778 (7 stars, last pushed 2026-05-30): Notepad++ RCE via config.xml commandLineInterpreter
- kavin-jindal/CVE-2026-48778-PoC (last pushed 2026-05-31): CVE-2026-48778 — Notepad++ Arbitrary Code Execution PoC
References
This CVE has public exploit evidence. See the latest CVEs with public exploits.