Vulnerability

CVE-2026-42214

highCVSS 3.1 7.8Published 7 May 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Dail8859 notepad next

Weakness type

References

  • github.com /dail8859/NotepadNext/commit/f3ca1b10aca52f05fd7f4f5ebf9b56…
  • github.com /dail8859/NotepadNext/releases/tag/v0.14
  • github.com /dail8859/NotepadNext/security/advisories/GHSA-m5fq-c9x5-w5…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning