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.
- Affected products
- Notepad++
- Notepad-plus-plus Notepad\+\+
- < 8.9.6.1
- Fix
- Available
- CVSS 3.1
- 7.8 HIGH
- EPSS
- 0.6% (47th percentile)
- Weakness
- CWE-78
- NVD status
- Analyzed
- Published
- 2026-06-26
CVE-2026-48778 at NVD
7 known exploits for CVE-2026-48778
Proof-of-concept code and exploit modules indexed by Sploitus