| Title | dail8859のNotepad Nextにおけるコードインジェクションの脆弱性 |
|---|---|
| Summary | Notepad Nextは、Notepad++のクロスプラットフォームでの再実装です。バージョン0.14以前では、NotepadNextのdetectLanguageFromExtension()関数がファイルの拡張子をサニタイズせずにLuaスクリプトに直接埋め込んでいました。攻撃者はLuaコードを含む拡張子を持つファイル名を作成でき、被害者がNotepadNextでそのファイルを開くと自動的にコードが実行されます。luaL_openlibs()が無条件に呼び出されるため、注入されたコードはos、io、packageの完全なライブラリにアクセスでき、任意のコマンドを実行可能です。この問題はバージョン0.14で修正されました。 |
| Possible impacts | 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| Solution | 正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date | May 7, 2026, midnight |
| Registration Date | May 14, 2026, 10:12 a.m. |
| Last Update | May 14, 2026, 10:12 a.m. |
| CVSS3.0 : 重要 | |
| Score | 7.8 |
|---|---|
| Vector | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| dail8859 |
| Notepad Next 0.14 未満 |
| No | Changed Details | Date of change |
|---|---|---|
| 1 | [2026年05月14日] 掲載 |
May 14, 2026, 10:12 a.m. |
| Summary | 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. |
|---|---|
| Publication Date | May 8, 2026, 4:16 a.m. |
| Registration Date | May 9, 2026, 4:10 a.m. |
| Last Update | May 8, 2026, 5:16 a.m. |