Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-48800— Notepad++: Arbitrary Code Execution via shortcuts.xml UserCommand Injection

Quick assessment

Affected
notepad-plus-plus notepad-plus-plus
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

notepad-plus-plus notepad++是notepad-plus-plus团队开源的一款文本编辑及源代码处理工具。 Notepad++ 8.9.6.1之前版本存在命令注入漏洞,该漏洞源于在feedUserCmds()函数中未对UserCommand._cmd进行任何验证,可能导致攻击者控制的可执行路径被调用,作为持久化机制。

CVSS 7.8 · High EPSS 0.21% · P10

Affected Version Matrix 1

VendorProduct Version RangeStatus
notepad-plus-plus notepad-plus-plus < 8.9.6.1 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-48800

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Notepad++: Arbitrary Code Execution via shortcuts.xml UserCommand Injection
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Notepad++ 命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
notepad-plus-plus notepad++是notepad-plus-plus团队开源的一款文本编辑及源代码处理工具。 Notepad++ 8.9.6.1之前版本存在命令注入漏洞,该漏洞源于在feedUserCmds()函数中未对UserCommand._cmd进行任何验证,可能导致攻击者控制的可执行路径被调用,作为持久化机制。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
notepad-plus-plus notepad-plus-plus < 8.9.6.1 -

II. Public POCs for CVE-2026-48800

# POC Description Source Link Shenlong Link
AI-Generated POC Verified env Premium
Qwen3.6-35B-A3B · 8783 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-48800

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-48800 (1)

Vendor Advisories for CVE-2026-48800 (1)

Same Patch Batch · notepad-plus-plus · 2026-06-26 · 6 CVEs total

CVE-2026-52884 7.8 HIGH Notepad++: CVE-2026-48800 Bypass
CVE-2026-48778 7.8 HIGH Notepad++: Arbitrary Code Execution via config.xml commandLineInterpreter
CVE-2026-48770 5.0 MEDIUM Notepad++ WM_COPYDATA COPYDATA_FULL_CMDLINE local DoS crash
CVE-2026-52885 Notepad++ TOCTOU: HMAC Checks Disk, Executes from Memory
CVE-2026-46710 Notepad++: Privilege Escalation in the Installer via Uncontrolled Executable Search Path

IV. Related Vulnerabilities

V. Comments for CVE-2026-48800

No comments yet


Leave a comment