Notepad-plus-plus
Notepad++: Arbitrary Code Execution via config.xml commandLineInterpreter
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- < 8.9.6.1
Fixed in 8.9.6.1
Mitigation
Upgrade notepad-plus-plus to 8.9.6.1 or later.
References
Timeline
Days relative to CVE publicationFirst public PoC 28 days before publication; not in CISA KEV. First PoC: Notepad++ 8.9.6 - Arbitrary Code Execution (Exploit-DB, 30 May 2026).
PoC repositories
Found on GitHub.3 suspicious or fake
Suspicious or fake 3
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| atiilla/Notepad-8.9.6-PoC | 28 May 2026 −29 d | 6 | Fake |
| kavin-jindal/CVE-2026-48778-PoC | 30 May 2026 −27 d | 0 | Fake |
| XK3NF4/CVE-2026-48778 | 30 May 2026 −27 d | 7 | Fake |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Exploit-DB | Notepad++ 8.9.6 - Arbitrary Code Execution | 30 May 2026 | 14 Nov 2026 |