CVE-2026-42214
HIGH
MEDIUM
Priority: 0.02
BB Relevance:
41/100
Published: 2026-05-07
Modified: 2026-10-26
First seen: 2026-10-29
Status: active
Attack Surface
Low Complexity
No Auth
Conf. Impact
Integ. Impact
CVSS Vector Breakdown
AV:
Local
AC:
Low
PR:
None
UI:
Required
S:
Unchanged
C:
High
I:
High
A:
High
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.
Weakness Classification (1)
Affected Software (1)
| Vendor | Product | Version |
|---|---|---|
| dail8859 | notepad_next | < 0.14 |
References & Advisories (3)
Release Notes
Patch
Exploit
Mitigation
Vendor Advisory