CVE-2026-71858
published medium CVSS 4.0 · 5.4Notepad++: shortcuts.xml Macro HMAC Bypass Enables Conditional Elevated Command Execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| notepad-plus-plus | — | notepad-plus-plus< 8.9.7 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| notepad-plus-plus | notepad-plus-plus | < 8.9.7 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
- CWE-345 CWE-345: Insufficient Verification of Data Authenticity
- CWE-693 CWE-693: Protection Mechanism Failure
References
3Provider assertions
2GitHub_M · cna
Notepad++: shortcuts.xml Macro HMAC Bypass Enables Conditional Elevated Command Execution
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e14856d8f3ac81c899212a88d339e2511fee533c71c375097698d58db70c9998
- Ingested
- 23 Sep 2026, 09:29:33 UTC
- Source record
- Official CVE record