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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-20",
"CWE-706"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77605.json"
}{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "8.9.8"
}
],
"source": [
"AFFECTED_FIELD",
"REFERENCES"
]
}
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-77605.json"
[
{
"deprecated": false,
"digest": {
"line_hashes": [
"245613193499863434060163472750531141533",
"327967324165986924403148504852189138143",
"149070015559300172073527921516817017941",
"248905209038951969869351355454601946172",
"191931770191277996879454454995706643990",
"24782718833065859863019603848470188273"
],
"threshold": 0.9
},
"id": "CVE-2026-77605-9ea9e89d",
"signature_type": "Line",
"signature_version": "v1",
"source": "https://github.com/notepad-plus-plus/notepad-plus-plus/commit/00fa5df0da1d4f6b334317aa979db13ac77ee24d",
"target": {
"file": "PowerEditor/src/WinControls/FileBrowser/fileBrowser.cpp"
}
},
{
"deprecated": false,
"digest": {
"function_hash": "69610240248603296404170282916983552475",
"length": 3765
},
"id": "CVE-2026-77605-cac46682",
"signature_type": "Function",
"signature_version": "v1",
"source": "https://github.com/notepad-plus-plus/notepad-plus-plus/commit/00fa5df0da1d4f6b334317aa979db13ac77ee24d",
"target": {
"file": "PowerEditor/src/WinControls/FileBrowser/fileBrowser.cpp",
"function": "FileBrowser::popupMenuCmd"
}
}
]
"2026-09-24T08:34:24Z"