CVE-2026-42214
Last modified
CVE-2026-42214 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. Notepad Next is a cross-platform, reimplementation of Notepad++. Prior to version 0.14, NotepadNext's detectLanguageFromExtension() function interpolates a file's extension directly into a Lua script without sanitization. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
Description
Notepad Next is a cross-platform, reimplementation of Notepad++. Prior to version 0.14, NotepadNext's detectLanguageFromExtension() function interpolates a file's extension directly into a Lua script without sanitization. An attacker can craft a filename whose extension contains Lua code, which executes automatically when the victim opens the file in NotepadNext. Because luaL_openlibs() is called unconditionally, the full os, io, and package libraries are available to the injected code, enabling arbitrary command execution. This issue has been patched in version 0.14.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Dail8859 | Notepad Next | < 0.14 |
References
- https://github.com/dail8859/NotepadNext/security/advisories/GHSA-m5fq-c9x5-w54gExploit, Mitigation, Vendor Advisory
- https://github.com/dail8859/NotepadNext/security/advisories/GHSA-m5fq-c9x5-w54gExploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-42214?
How severe is CVE-2026-42214?
How do I fix CVE-2026-42214?
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-42209FlashMQ is a MQTT broker/server, designed for multi-CPU envi…6.5
- CVE-2026-4221A vulnerability was found in Tiandy Easy7 Integrated Managem…7.3
- CVE-2026-42210Webmin is a web-based system administration tool for Unix-li…5.3
- CVE-2026-42211React Router is a router for React. In versions 7.0.0 throug…8.1
- CVE-2026-42212SolidCAM-GPPL-IDE is an unofficial, independently developed …7.1
- CVE-2026-42213SolidCAM-GPPL-IDE is an unofficial, independently developed …5.1
- CVE-2026-42215GitPython is a python library used to interact with Git repo…8.8
- CVE-2026-42216OpenEXR provides the specification and reference implementat…9.1
- CVE-2026-42217OpenEXR provides the specification and reference implementat…9.8
- CVE-2026-42218xrdp is an open source RDP server. Versions 0.10.6 and prior…5.3
- CVE-2026-42219Frappe is a full-stack web application framework. Prior to 1…6.9
- CVE-2026-4222A vulnerability was determined in SSCMS up to 7.4.0. This vu…3.8
Are you affected by CVE-2026-42214?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
