patchminder
Proof of concept · GitHub CVE-2026-52886

Path traversalin notepad-plus-plus.

Published 17 Aug 2026 · Updated 18 Aug 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
Medium 5.1
CVSSA severity score from 0 to 10. 9 and higher is critical. 4.0
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.2% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 8.9.7 or later
In plain words

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.

What to do now
  • Upgrade notepad-plus-plus to 8.9.7 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
notepad-plus-plus
before 8.9.7
8.9.7
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 8 Jun 2026
    CVE ID reserved by GitHub_M.
  2. 6 Aug 2026
    First public proof of concept on GitHub.
  3. 17 Aug 2026
    Published in the CVE List.
  4. 18 Aug 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundv3s9er/CVE-2026-528860 stars · created 6 Aug 2026Notepad++ CVE-2026-52886 · session.xml backupFilePath starts_with() path traversal (GHSA-rqfm-pw34-r7j6)

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other notepad-plus-plus vulnerabilities

Same weakness: Path traversal

All CWE-22 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-52886: Path traversal in notepad-plus-plus. https://patchminder.com/cve/cve-2026-52886/ (accessed 5 December 2026).