---
id: CVE-2026-71858
title: Notepad++ is a free and open-source source code editor
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 O…
severity: none
cwe:
  - CWE-78
  - CWE-345
  - CWE-693
published: '2026-08-17'
updated: '2026-09-09'
sourceUpdated: '2026-09-09T21:11:25.743'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-71858'
references:
  - url: >-
      https://github.com/notepad-plus-plus/notepad-plus-plus/commit/7686e5a3025eaf1fb8e024c2ceb54670ea05f5fb
    label: security-advisories@github.com
  - url: 'https://github.com/notepad-plus-plus/notepad-plus-plus/releases/tag/v8.9.7'
    label: security-advisories@github.com
  - url: >-
      https://github.com/notepad-plus-plus/notepad-plus-plus/security/advisories/GHSA-f4rj-vqq4-wvg4
    label: security-advisories@github.com
  - url: >-
      https://github.com/notepad-plus-plus/notepad-plus-plus/security/advisories/GHSA-f4rj-vqq4-wvg4
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.00139
epssPercentile: 0.03651
ingestedAt: '2026-09-09T21:22:45.535Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
