OS Command Injection in Notepad++ - CVE-2026-48800

 

OS Command Injection in Notepad++ - CVE-2026-48800

Published: May 27, 2026 / Updated: May 31, 2026


Vulnerability identifier: #VU132378
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2026-48800
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Notepad++
Affected software:
Notepad++

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code.

The vulnerability exists due to command injection in the shortcuts.xml UserCommand handling when processing attacker-controlled command entries and the user clicks the corresponding Run menu item. A remote attacker can place a crafted command in shortcuts.xml to execute arbitrary code.

User interaction is required to click the injected Run menu entry, and the malicious entry may appear as a legitimate-looking menu item.


How to mitigate CVE-2026-48800

Install security update from vendor's website.

Sources