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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-71858— Notepad++: shortcuts.xml Macro HMAC Bypass Enables Conditional Elevated Command Execution

Quick assessment

Affected
notepad-plus-plus notepad-plus-plus
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

notepad++是notepad++个人开发者开源的一款轻量级的代码与文本编辑工具。 Notepad++ 8.9.7之前版本存在安全漏洞,该漏洞源于从攻击者控制的shortcuts.xml加载的宏绕过UserDefinedCommands的HMAC验证,并可调用Scintilla操作和内部Open in Default Viewer命令,当本地攻击者影响settingsDir且用户触发宏时,可能导致修改受保护文件并在特定条件下执行提升权限的命令。

CVSS 5.4 · Medium EPSS 0.10% · P1

Affected Version Matrix 1

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

I. Basic Information for CVE-2026-71858

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++: shortcuts.xml Macro HMAC Bypass Enables Conditional Elevated Command Execution
Source: CVE Program / CVE List V5
Vulnerability Description
Notepad++ is a free and open-source source code editor. Prior to 8.9.7, macros loaded from an attacker-controlled shortcuts.xml bypass the HMAC validation applied to UserDefinedCommands and can invoke Scintilla actions and the internal Open in Default Viewer command in an elevated Notepad++ process, allowing protected file modification and conditional elevated command execution when a local attacker influences settingsDir and a user triggers the macro. This issue is fixed in version 8.9.7.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
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++是notepad++个人开发者开源的一款轻量级的代码与文本编辑工具。 Notepad++ 8.9.7之前版本存在安全漏洞,该漏洞源于从攻击者控制的shortcuts.xml加载的宏绕过UserDefinedCommands的HMAC验证,并可调用Scintilla操作和内部Open in Default Viewer命令,当本地攻击者影响settingsDir且用户触发宏时,可能导致修改受保护文件并在特定条件下执行提升权限的命令。
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.7 -

II. Public POCs for CVE-2026-71858

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-71858

登录查看更多情报信息。

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

Vendor Advisories for CVE-2026-71858 (1)

Vendor Pages for CVE-2026-71858 (1)

Same Patch Batch · notepad-plus-plus · 2026-08-17 · 4 CVEs total

CVE-2026-57233 8.1 HIGH Notepad++: Path Traversal (Zip Slip) in WinGup Plugin Extraction
CVE-2026-54758 7.8 HIGH Notepad++: Stack Buffer Overflow in expandNppEnvironmentStrs
CVE-2026-52886 5.1 MEDIUM Notepad++: session.xml backupFilePath starts_with Bypass

IV. Related Vulnerabilities

V. Comments for CVE-2026-71858

No comments yet


Leave a comment