Threat intelligence dashboard
CVE-2026-77605high

Notepad++ “Run by system” executes *.txt.cmd when user selected *.txt (target confusion → command execution)

Notepad++ is a free and open-source source code editor. Prior to 8.9.8, the Folder as Workspace Run by system action in Notepad++ can resolve a different sibling file than the file selected by the user. When an attacker places a command script whose name is the selected text-file path with .cmd appended, and the user invokes Run by system on the text file on Windows 10 or Windows 11, Notepad++ can execute the sibling script as the current user instead of opening the selected file. This issue is fixed in version 8.9.8.

Risk score

7.8

CVSS 3.1

Vendor
notepad-plus-plus
Product
notepad-plus-plus
CWE
CWE-20, CWE-706
Published
Sep 22, 2026
Updated
Sep 28, 2026
CISA KEV
Not flagged

Affected products and versions

notepad-plus-plus

notepad-plus-plus

Version / rangeStatusType
< 8.9.8affected—

Technical metrics

7.8

CVSS 3.1

Severity
high
Source
GitHub_M
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H