{"id":"CVE-2026-77605","published":"2026-09-22T17:13:21Z","modified":"2026-09-28T17:37:49Z","title":"Notepad++ “Run by system” executes *.txt.cmd when user selected *.txt (target confusion → command execution)","vendor":"notepad-plus-plus","product":"notepad-plus-plus","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00186,"percentile":0.048,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-706","name":"Use of Incorrectly-Resolved Name or Reference"}],"references":[{"url":"https://github.com/notepad-plus-plus/notepad-plus-plus/security/advisories/GHSA-w5xq-frjg-w4cw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/notepad-plus-plus/notepad-plus-plus/commit/00fa5df0da1d4f6b334317aa979db13ac77ee24d","tags":["x_refsource_MISC"]},{"url":"https://github.com/notepad-plus-plus/notepad-plus-plus/releases/tag/v8.9.8","tags":["x_refsource_MISC"]},{"url":"https://notepad-plus-plus.org/news/v898-released","tags":["x_refsource_MISC"]}],"priority":{"score":6.4,"factors":[{"name":"EPSS percentile","points":0.96},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"notepad-plus-plus","affectedVersions":[{"vendor":"notepad-plus-plus","product":"notepad-plus-plus","versions":["< 8.9.8"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-09-28T17:37:43.561211Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-84573","exploited":false,"provenance":"source"}}