CVE-2026-42214

HIGH CVSS 3.1: 7.8 EPSS 0.24%
Updated Oct 26, 2026
Dail8859
Parameter Value
CVSS 7.8 (HIGH)
Affected Versions before 0.14
Fixed In 0.14
Type CWE-94 (Code Injection)
Vendor Dail8859
Public PoC No

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Dail8859 Notepad_Next
cpe:2.3:a:dail8859:notepad_next:*:*:*:*:*:*:*:*
— 0.14