RCE in Notepad-Plus-Plus Notepad\+\+
CVE-2026-48800
Notepad++ is a free and open-source source code editor. Prior to 8.9.6.1, the <Command> tag text content inside <UserDefinedCommands> in shortcuts.xml is read by NppXml::value(aNode) (Parameters.cpp:3658) in the feedUserCmds() function and stored in UserCommand._cmd without any validation. When the user clicks the corresponding entry in the Run menu, NppCommands.cpp:4264 creates a Command object with string2wstring(ucmd.getCmd()) and calls run(), which invokes ShellExecute (RunDlg.cpp:221) with the attacker-controlled string as the executable path. The injected command appears as a normal menu item in the Run menu, making it a viable persistence mechanism. 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.002 (10.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 10th percentile — 10.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: 0.000
Affected products
- Notepad-Plus-Plus Notepad\+\+
- Notepad-Plus-Plus — versions < 8.9.6.1
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/notepad-plus-plus/notepad-plus-plus/security/advisories/GHSA-3x3f-3j… (Exploit, Patch, Vendor Advisory)
- github.com/notepad-plus-plus/notepad-plus-plus/commit/6b3dc52a9245c6d8c6287a8d6… (Patch)
Frequently asked questions
- What is CVE-2026-48800?
- CVE-2026-48800 is a high-severity vulnerability in Notepad-Plus-Plus Notepad\+\+, classified under OS Command Injection. CVSS score: 7.8/10. Published 2026-06-26.
- How severe is CVE-2026-48800?
- High severity. CVSS v3 base score is 7.8 out of 10.
- Is CVE-2026-48800 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.