Skip to main content
← All vulnerabilities
CVE-2026-71858

Notepad++: shortcuts.xml Macro HMAC Bypass Enables Conditional Elevated Command Execution

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.9.7
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • notepad-plus-plus notepad-plus-plus

    fixed in 8.9.7

References 3

GitHub · notepad-plus-plus/notepad-plus-plus