CVE-2026-48800: Arbitrary Code Execution in Notepad++ shortcuts.xml UserDefinedCommands
- Vendor
- Notepad++
CVE-2026-48800 is an arbitrary code execution vulnerability in Notepad++ affecting versions prior to 8.9.6.1. The flaw is in processing of the shortcuts.xml configuration file, specifically the text content of the <Command> tag inside <UserDefinedCommands>. According to the provided technical details, feedUserCmds() reads this value via NppXml::value(aNode) in Parameters.cpp:3658 and stores it in UserCommand._cmd without validation. When the user selects the corresponding entry from the Run menu, NppCommands.cpp:4264 creates a Command object from the attacker-controlled string and run() ultimately invokes ShellExecute in RunDlg.cpp:221 using that string as the executable path. Because the command is rendered as a normal Run menu item, a maliciously modified shortcuts.xml can cause Notepad++ to launch an attacker-chosen executable under the current user context.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows execution of an attacker-controlled executable or command path when the victim clicks the malicious Run menu entry in Notepad++. This yields arbitrary code execution in the security context of the current user. Because the malicious entry appears as a legitimate menu item and persists in shortcuts.xml, the flaw can also be used as a persistence mechanism and to facilitate follow-on actions such as payload execution, staging, or user-level compromise.
Mitigation
If you can’t patch tonight, do this now.
Until patching is complete, restrict write access to Notepad++ configuration files and monitor shortcuts.xml for unauthorized modification. Treat user-writable settings locations, shared settings directories, and cloud-synchronized configuration paths as sensitive. In enterprise environments, detect or block unexpected changes to Notepad++ Run menu definitions, and educate users not to invoke unfamiliar Run menu entries. Where possible, use application control to prevent execution of unapproved binaries even if a malicious menu entry is triggered.
Remediation
Patch, then assume compromise.
Upgrade Notepad++ to version 8.9.6.1 or later. The vendor states that 8.9.6.1 fixes CVE-2026-48800. Any existing shortcuts.xml files should be reviewed for unauthorized or unexpected <UserDefinedCommands>/<Command> entries, and suspicious user-defined Run menu items should be removed or replaced with trusted values.
Exploits
2 exploits validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-48800 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2026-48800 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-48800?
- Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2026-48800, the earliest disclosed May 28, 2026.
- Is there a patch for CVE-2026-48800?
- Upgrade Notepad++ to version 8.9.6.1 or later. The vendor states that 8.9.6.1 fixes CVE-2026-48800.
- What products are affected by CVE-2026-48800?
- Notepad++.
- How severe is CVE-2026-48800?
- CVE-2026-48800 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.21% (6th percentile) as of Sep 25, 2026.
Recent activity
16 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.