製品・ソフトウェアに関する情報
notepad-plus-plusのnotepad++におけるOS コマンドインジェクションの脆弱性
Title notepad-plus-plusのnotepad++におけるOS コマンドインジェクションの脆弱性
Summary

Notepad++は無料のオープンソースのソースコードエディタです。バージョン8.9.6.1以前では、config.xmlのGUIConfig name="commandLineInterpreter"タグがNppXml::value()(Parameters.cpp:6430)によって読み取られ、検証やホワイトリスト、デジタル署名チェックなしに_nppGUI._commandLineInterpreterに保存されます。ユーザーがIDM_FILE_OPEN_CMD(ファイル → 含まれるフォルダを開く → cmd)をトリガーすると、NppCommands.cpp:228でこの値を持つCommandオブジェクトが作成され、run()が呼び出されます。攻撃者が制御する文字列が実行可能パスとしてShellExecute(RunDlg.cpp:221)によって呼び出されます。この脆弱性はバージョン8.9.6.1で修正されました。

Possible impacts ・当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 ・当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 ・当該ソフトウェアが完全に停止する可能性があります。 
Solution

ベンダ情報を参照して適切な対策を実施してください。

Publication Date June 26, 2026, midnight
Registration Date June 30, 2026, 11:20 a.m.
Last Update June 30, 2026, 11:20 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
Affected System
notepad-plus-plus
notepad++ 8.9.6.1 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年06月30日]
  掲載
June 30, 2026, 11:20 a.m.

NVD Vulnerability Information
CVE-2026-48778
Summary

Notepad++ is a free and open-source source code editor. Prior to 8.9.6.1, the <GUIConfig name="commandLineInterpreter"> tag in config.xml is read by NppXml::value() (Parameters.cpp:6430) and stored in _nppGUI._commandLineInterpreter without any validation, whitelist, or digital signature check. When the user triggers IDM_FILE_OPEN_CMD (File → Open Containing Folder → cmd), NppCommands.cpp:228 creates a Command object with this value and calls run(), which invokes ShellExecute (RunDlg.cpp:221) with the attacker-controlled string as the executable path. This vulnerability is fixed in 8.9.6.1.

Publication Date June 27, 2026, 6:16 a.m.
Registration Date June 29, 2026, 4:17 a.m.
Last Update June 30, 2026, 3:51 a.m.
Related information, measures and tools
Common Vulnerabilities List