Notepad++ “Run by system” executes *.txt.cmd when user selected *.txt (target confusion → command execution)
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| notepad-plus-plus | notepad-plus-plus | before 8.9.8 | 8.9.8 | Patch available | CNA |
- notepad-plus-plus Vendornotepad-plus-plus Affected before 8.9.8 Fixed in 8.9.8 Patch available CNA
CPE names Threatist (inferred) · 1
Inferred from how NVD named this product before; not given by a source.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:notepad-plus-plus:notepad\+\+:*:*:*:*:*:*:*:* | — | — | notepad-plus-plus |
- cpe:2.3:a:notepad-plus-plus:notepad\+\+:*:*:*:*:*:*:*:* Versions — — ·notepad-plus-plus
Remediation
- Fix · CNA notepad-plus-plus (notepad-plus-plus) Fixed in 8.9.8
Timeline
- 2026-10-02 Threatist record created from CVE-2026-77605
References
Other 4
- 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
More notepad-plus-plus vulnerabilities
- TI-2025-14195 Notepad++ < 8.8.9 WinGUp Updater Lacks Update Integrity Verification KEVCVSS 4.0HIGH 7.7
- TI-2026-58566 Notepad++: Stack Buffer Overflow in Plugin Lexer Loading via Unchecked GetLexerCount() Return Value CVSS 3.1HIGH 8.6
- TI-2026-58869 Notepad++: Stack Buffer Overflow in `NppParameters::writeSession` via overlong session path CVSS 3.1HIGH 7.8
- TI-2026-36070 Notepad++: Arbitrary Code Execution via shortcuts.xml UserCommand Injection CVSS 3.1HIGH 7.8
- TI-2026-36048 Notepad++: Arbitrary Code Execution via config.xml commandLineInterpreter CVSS 3.1HIGH 7.8
- TI-2026-04836 Stack-Based Buffer Overflow in Notepad++ File Drop Handler leads to DoS CVSS 3.1HIGH 7.8
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences