{"id":"CVE-2026-77605","revision":"79ec615fa2e04e3fb8c5547ef43632d5","records":[{"revision":"79ec615fa2e04e3fb8c5547ef43632d5","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-77605","aliases":[],"title":"Notepad++ “Run by system” executes *.txt.cmd when user selected *.txt (target confusion → command execution)","description":"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.","state":0,"publishedAt":"2026-09-22T17:13:21.434+00:00","modifiedAt":"2026-09-28T17:37:49.718+00:00","affected":[{"ecosystem":"Vendor product","name":"notepad-plus-plus","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"notepad-plus-plus\",\n                    \"product\": \"notepad-plus-plus\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 8.9.8\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"severity":"HIGH"}],"references":["https://github.com/notepad-plus-plus/notepad-plus-plus/security/advisories/GHSA-w5xq-frjg-w4cw","https://github.com/notepad-plus-plus/notepad-plus-plus/commit/00fa5df0da1d4f6b334317aa979db13ac77ee24d","https://github.com/notepad-plus-plus/notepad-plus-plus/releases/tag/v8.9.8","https://notepad-plus-plus.org/news/v898-released"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-77605","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-77605","identifiers":["CVE-2026-77605"]},"retained":false,"historicalAffected":[]}],"coverage":[]}