# CVE-2026-52886: Notepad++: session.xml backupFilePath starts_with Bypass

- Severity: Medium 5.1 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-17T20:09:32.188Z
- Modified: 2026-09-09T21:11:25.743Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- notepad-plus-plus notepad-plus-plus: < 8.9.7

## References

- <https://github.com/notepad-plus-plus/notepad-plus-plus/security/advisories/GHSA-rqfm-pw34-r7j6> (exploit)
- <https://github.com/notepad-plus-plus/notepad-plus-plus/commit/7e66f36db666a13b09fb5c31232ab2ca1c2ebccc>
- <https://github.com/notepad-plus-plus/notepad-plus-plus/releases/tag/v8.9.7>

## Sources

- CVE List: [CVE-2026-52886](https://www.cve.org/CVERecord?id=CVE-2026-52886), CVE Terms of Use, modified 2026-08-18
- NVD: [CVE-2026-52886](https://nvd.nist.gov/vuln/detail/CVE-2026-52886), Public domain, modified 2026-09-09

---

Page: https://cve.day/CVE-2026-52886 · Whole record: https://cve.day/CVE-2026-52886.json · Rebuilt by cve.day 2026-11-25T22:59:33.381Z
