Vulnerability 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.
Related Weaknesses (CWE)
References
- https://github.com/notepad-plus-plus/notepad-plus-plus/commit/7e66f36db666a13b09
- https://github.com/notepad-plus-plus/notepad-plus-plus/releases/tag/v8.9.7
- https://github.com/notepad-plus-plus/notepad-plus-plus/security/advisories/GHSA-
- https://github.com/notepad-plus-plus/notepad-plus-plus/security/advisories/GHSA-
FAQ
What is CVE-2026-52886?
CVE-2026-52886 is a documented vulnerability. 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 dir...
How severe is CVE-2026-52886?
CVSS scoring is not yet available for CVE-2026-52886. Check NVD for updates.
Is there a patch for CVE-2026-52886?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.