CVE-2026-52885
Last modified
CVE-2026-52885 is a medium-severity vulnerability rated 6.3/10 on the CVSS scale. Notepad++ is a free and open-source source code editor. Prior to 8.9.6.4, NppCommands.cpp checks the HMAC of the on-disk shortcuts.xml at the moment a user command fires (Time-of-Check). EPSS estimates a 0.16% chance of exploitation in the next 30 days.
Description
Notepad++ is a free and open-source source code editor. Prior to 8.9.6.4, NppCommands.cpp checks the HMAC of the on-disk shortcuts.xml at the moment a user command fires (Time-of-Check). However, the command payload is taken from the in-memory _userCommands vector, which is populated at application startup and never re-synchronized with the on-disk file (Time-of-Use). Swapping shortcuts.xml between startup and command execution causes the HMAC check to validate a clean file while a malicious command runs. An attacker with write access to shortcuts.xml places a malicious version on disk before launch, then immediately restores the legitimate file. The HMAC check at execution time validates the restored legitimate file (check passes), while the malicious payload executes from memory. This vulnerability is fixed in 8.9.6.4.
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H
CVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Notepad-Plus-Plus | Notepad\+\+ | < 8.9.6.4 |
References
- https://github.com/notepad-plus-plus/notepad-plus-plus/security/advisories/GHSA-qm4c-qg8p-qfcrExploit, Patch, Vendor Advisory
- https://github.com/notepad-plus-plus/notepad-plus-plus/security/advisories/GHSA-qm4c-qg8p-qfcrExploit, Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-52885?
How severe is CVE-2026-52885?
How do I fix CVE-2026-52885?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-52870The MCP Python SDK, called mcp on PyPI, is a Python implemen…7.6
- CVE-2026-52878Klever-Go is the Go implementation of the Klever blockchain …7.5
- CVE-2026-52879Klever-Go is the Go implementation of the Klever blockchain …7.5
- CVE-2026-5288Use after free in WebView in Google Chrome on Android prior …9.6
- CVE-2026-52880Klever-Go is the Go implementation of the Klever blockchain …7.5
- CVE-2026-52884Notepad++ is a free and open-source source code editor. In v…7.8
- CVE-2026-52887NocoBase is an AI-powered no-code/low-code platform for buil…10
- CVE-2026-52888NocoBase is an AI-powered no-code/low-code platform for buil…6.8
- CVE-2026-5289Use after free in Navigation in Google Chrome prior to 146.0…9.6
- CVE-2026-52890Wekan is open source kanban built with Meteor. Prior to 9.31…7.1
- CVE-2026-52891Wekan is open source kanban built with Meteor. Prior to 9.07…9.9
- CVE-2026-52892Wekan is open source kanban built with Meteor. Prior to 9.32…6.5
Are you affected by CVE-2026-52885?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
