Skip to main content
← All vulnerabilities
CVE-2026-52886

Notepad++: session.xml backupFilePath starts_with Bypass

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.9.7
1 proof of concept on GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • notepad-plus-plus notepad-plus-plus

    fixed in 8.9.7

References 4

GitHub · notepad-plus-plus/notepad-plus-plus

GitHub · v3s9er/CVE-2026-52886