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

Published Aug 17, 2026
·
Updated

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.

Affected Software

1 affected component
Notepad++ Notepad++<8.9.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Notepad++ to a version that resolves this vulnerability.

    Fixed in 8.9.7

Event History

Aug 17, 2026
CVE Published
via MITRE·08:08 PM
Data Sourced
via MITRE·08:08 PM
DescriptionWeakness
Data Sourced
via NVD·08:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-71858?

The severity of CVE-2026-71858 is rated at risk level 48.

2

How do I fix CVE-2026-71858?

To fix CVE-2026-71858, upgrade Notepad++ to version 8.9.7 or later.

3

What type of vulnerability is CVE-2026-71858?

CVE-2026-71858 is classified as an OS Command Injection vulnerability.

4

What impact does CVE-2026-71858 have on Notepad++?

CVE-2026-71858 allows an attacker to bypass HMAC validation and execute commands conditionally in an elevated context.

5

What is the affected software for CVE-2026-71858?

CVE-2026-71858 affects Notepad++ versions prior to 8.9.7.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203