製品・ソフトウェアに関する情報
notepad-plus-plusのnotepad++におけるパスの等価性: 'file.name' (末尾のドット)に関する脆弱性
Title notepad-plus-plusのnotepad++におけるパスの等価性: 'file.name' (末尾のドット)に関する脆弱性
Summary

Notepad++は無料のオープンソースのソースコードエディタです。バージョン8.9.6.1では、信頼されたディレクトリのパスを検証する関数isInTrustedDirectory()がパスを正規化せずにプレフィックスベースのチェックを行っていました。このため、信頼されたディレクトリのプレフィックスの後に「..\..\」を使用したパストラバーサル攻撃が可能でした。この問題により、本来信頼されていない場所へのアクセスを許してしまっていました。この脆弱性はShellExecute()を呼び出す前に解決されたパスが信頼されたディレクトリの下にあるかを正しく検証する修正によって解決され、バージョン8.9.6.2で修正されました。

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

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

Publication Date June 26, 2026, midnight
Registration Date June 30, 2026, 11:24 a.m.
Last Update June 30, 2026, 11:24 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:24 a.m.

NVD Vulnerability Information
CVE-2026-52884
Summary

Notepad++ is a free and open-source source code editor. In v8.9.6.1, isInTrustedDirectory() does NOT canonicalize the path before checking. It uses a prefix-based check (PathIsPrefix() or equivalent) that matches paths starting with trusted directory strings. A path traversal using ..\..\ after a trusted directory prefix passes the check while resolving to an untrusted location. The CVE-2026-48800 patch adds isInTrustedDirectory() validation in Command::run() (RunDlg.cpp) before calling ShellExecute(). This function checks whether the resolved executable path is under a trusted directory. This vulnerability is fixed in 8.9.6.2.

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