{"id":"CVE-2026-71858","aliases":["CVE-2026-71858"],"related":[],"kind":"vulnerability","state":"published","title":"Notepad++: shortcuts.xml Macro HMAC Bypass Enables Conditional Elevated Command Execution","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-08-17T20:08:21.140Z","modified":"2026-09-09T21:11:25.743Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-78","CWE-345","CWE-693"],"affected":[{"ranges":[{"version":"< 8.9.7","status":"affected"}],"vendor":"notepad-plus-plus","product":"notepad-plus-plus","source":"cvelist"}],"references":[{"url":"https://github.com/notepad-plus-plus/notepad-plus-plus/security/advisories/GHSA-f4rj-vqq4-wvg4","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/notepad-plus-plus/notepad-plus-plus/commit/7686e5a3025eaf1fb8e024c2ceb54670ea05f5fb","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/notepad-plus-plus/notepad-plus-plus/releases/tag/v8.9.7","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-08-17T20:26:04.959Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-71858","url":"https://www.cve.org/CVERecord?id=CVE-2026-71858","licence":"CVE Terms of Use","modified":"2026-08-17T20:26:38.601Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-71858","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-71858","licence":"Public domain","modified":"2026-09-09T21:11:25.743Z"}],"updatedAt":"2026-11-25T22:59:33.386Z","epss":{"score":0.00139,"percentile":0.03489,"date":"2026-12-01T12:00:22.000Z"}}