{"id":"CVE-2026-77605","aliases":["CVE-2026-77605"],"related":[],"kind":"vulnerability","state":"published","title":"Notepad++ “Run by system” executes *.txt.cmd when user selected *.txt (target confusion → command execution)","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-09-22T17:13:21.434Z","modified":"2026-09-28T18:17:25.143Z","severity":{"scorer":"GitHub_M","scheme":"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,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"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,"rating":"HIGH"}],"cwes":["CWE-20","CWE-706"],"affected":[{"ranges":[{"version":"< 8.9.8","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-w5xq-frjg-w4cw","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/notepad-plus-plus/notepad-plus-plus/commit/00fa5df0da1d4f6b334317aa979db13ac77ee24d","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/notepad-plus-plus/notepad-plus-plus/releases/tag/v8.9.8","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://notepad-plus-plus.org/news/v898-released","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-09-28T17:37:43.561Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-77605","url":"https://www.cve.org/CVERecord?id=CVE-2026-77605","licence":"CVE Terms of Use","modified":"2026-09-28T17:37:49.718Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-77605","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77605","licence":"Public domain","modified":"2026-09-28T18:17:25.143Z"}],"updatedAt":"2026-11-25T22:59:40.497Z","epss":{"score":0.00213,"percentile":0.12309,"date":"2026-12-01T12:00:22.000Z"}}