{"id":"CVE-2026-48778","published":"2026-06-26T20:21:17Z","modified":"2026-06-29T13:11:06Z","title":"Notepad++: Arbitrary Code Execution via config.xml commandLineInterpreter","vendor":"notepad-plus-plus","product":"notepad-plus-plus","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0062,"percentile":0.50653,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/notepad-plus-plus/notepad-plus-plus/security/advisories/GHSA-7hm3-wp5q-ccv9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/notepad-plus-plus/notepad-plus-plus/commit/24c7b5c63cece76dbc8c4f2607a27ebfe22fa614","tags":["x_refsource_MISC"]}],"priority":{"score":20.6,"factors":[{"name":"EPSS percentile","points":10.13},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.46}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2026-05-30"},"pocGithub":{"count":2,"skipped":0,"earliest":"2026-05-30","earliestUrl":"https://github.com/kavin-jindal/CVE-2026-48778-PoC","repos":[{"name":"XK3NF4/CVE-2026-48778","url":"https://github.com/XK3NF4/CVE-2026-48778","stars":7,"created":"2026-05-30"},{"name":"kavin-jindal/CVE-2026-48778-PoC","url":"https://github.com/kavin-jindal/CVE-2026-48778-PoC","stars":0,"created":"2026-05-30"}]},"first":{"date":"2026-05-30","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/52606"},"provenance":"source"},"vendorSlug":"notepad-plus-plus","affectedVersions":[{"vendor":"notepad-plus-plus","product":"notepad-plus-plus","versions":["< 8.9.6.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-06-29T13:09:56.846745Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-39907","exploited":false,"provenance":"source"},"exploits":[{"id":52606,"url":"https://www.exploit-db.com/exploits/52606","title":"Notepad++ 8.9.6 - Arbitrary Code Execution","date":"2026-05-30","verified":false,"provenance":"source"}]}