Skip to content
OpenAdvisories
Medium · 5.1 Public exploit CVE-2026-52886 EUVD-2026-60374

Notepad++: session.xml backupFilePath starts_with Bypass

Published Aug 17, 2026 · Updated Aug 18, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
notepad-plus-plus notepad-plus-plus < 8.9.7 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • v3s9er/CVE-2026-52886 ★ 0 · Aug 6, 2026

    Notepad++ CVE-2026-52886 — session.xml backupFilePath starts_with() path traversal (GHSA-rqfm-pw34-r7j6)

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 1

References