# CVE-2026-71858: Notepad++: shortcuts.xml Macro HMAC Bypass Enables Conditional Elevated Command Execution

- Severity: Medium 5.4 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-17T20:08:21.140Z
- Modified: 2026-09-09T21:11:25.743Z
- Weaknesses: CWE-78, CWE-345, CWE-693
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- notepad-plus-plus notepad-plus-plus: < 8.9.7

## References

- <https://github.com/notepad-plus-plus/notepad-plus-plus/security/advisories/GHSA-f4rj-vqq4-wvg4> (exploit)
- <https://github.com/notepad-plus-plus/notepad-plus-plus/commit/7686e5a3025eaf1fb8e024c2ceb54670ea05f5fb>
- <https://github.com/notepad-plus-plus/notepad-plus-plus/releases/tag/v8.9.7>

## Sources

- CVE List: [CVE-2026-71858](https://www.cve.org/CVERecord?id=CVE-2026-71858), CVE Terms of Use, modified 2026-08-17
- NVD: [CVE-2026-71858](https://nvd.nist.gov/vuln/detail/CVE-2026-71858), Public domain, modified 2026-09-09

---

Page: https://cve.day/CVE-2026-71858 · Whole record: https://cve.day/CVE-2026-71858.json · Rebuilt by cve.day 2026-11-25T22:59:33.386Z
