Path Traversal in Notepad-Plus-Plus
CVE-2026-52886
Notepad++ is a free and open-source source code editor. Prior to 8.9.7, Notepad++ validates the backupFilePath attribute from session.xml with std::wstring::starts_with against the expected backup directory without path normalization, allowing parent-directory sequences during snapshot-mode restoration to read an arbitrary user-readable file outside the backup directory into an editor tab. This issue is fixed in version 8.9.7.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
EPSS exploit prediction
EPSS 0.002, 5.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Notepad-Plus-Plus — versions < 8.9.7
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- v3s9er/CVE-2026-52886 (last pushed 2026-08-13): Notepad++ CVE-2026-52886 — session.xml backupFilePath starts_with() path traversal (GHSA-rqfm-pw34-r7j6)
References
This CVE has public exploit evidence. See the latest CVEs with public exploits.