CVE-2026-71858

MEDIUM CVSS 4.0: 5.4 EPSS 0.12%
Updated Sep 10, 2026
Notepad
Parameter Value
CVSS 5.4 (MEDIUM)
Fixed In 8.9.7
Type CWE-345 (Insufficient Verification of Data), CWE-78 (OS Command Injection), CWE-693
Vendor Notepad
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
High
Difficult to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
Low
Basic privileges needed
User Interaction
Passive
Minimal interaction

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0