Macro Execution Vulnerability in Notepad++ by Notepad++
CVE-2026-71858

5.4MEDIUM

Key Information:

Vendor
CVE Published:
17 August 2026

What is CVE-2026-71858?

Notepad++, a widely used open-source code editor, has a vulnerability that allows malicious actors to exploit macros loaded from a compromised shortcuts.xml file. This security flaw enables attackers to bypass the HMAC validation process applied to user-defined commands, which could result in unauthorized file modifications and the execution of elevated commands within an affected Notepad++ process. This issue is particularly concerning when an attacker can influence the application's settings directory and a user inadvertently triggers a malicious macro. The vulnerability has been addressed and resolved in Notepad++ version 8.9.7.

Affected Version(s)

notepad-plus-plus < 8.9.7

References

CVSS V4

Score:
5.4
Severity:
MEDIUM
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
High
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.