CVE-2026-85288: Notepad++: Shortcuts.xml macro HMAC bypass still reachable via the "Run a Macro Multiple Times" dialog

Published Sep 22, 2026
·
Updated

Notepad++ is a free and open-source source code editor. Prior to 8.9.8, Notepad++ incompletely enforces shortcuts.xml HMAC validation because WMMACRODLGRUNMACRO, the Run a Macro Multiple Times entry point, calls macroPlayback() without the validation used by command(). A tampered shortcuts.xml macro that is blocked through the Macro menu or a shortcut key can therefore execute through the multi-run dialog and invoke internal Notepad++ commands, including commands that launch external programs, in the current user context. This issue is fixed in version 8.9.8.

Affected Software

1 affected component
Notepad++ Notepad++<8.9.8

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.8

Event History

Sep 22, 2026
CVE Published
via MITRE·05:11 PM
Data Sourced
via MITRE·05:11 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which installations are affected?

Notepad++ versions prior to 8.9.8 are affected. Version 8.9.8 fixes the incomplete HMAC validation.

2

What must an attacker be able to do to exploit this issue?

An attacker needs to tamper with the shortcuts.xml macro configuration and have the macro run through the Run a Macro Multiple Times dialog. The attack requires local access, low privileges, and user interaction.

3

What is the impact if exploitation succeeds?

The tampered macro can invoke internal Notepad++ commands, including commands that launch external programs. Those programs run in the context of the current user.

4

What should be done if a vulnerable version is in use?

Update Notepad++ to version 8.9.8. Until updated, do not run macros through the Run a Macro Multiple Times dialog when shortcuts.xml may have been modified.

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