CVE-2026-52886
Notepad++ is a free and open-source source code editor. Prior to …
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
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/notepad-plus-plus/notepad-plus-plus/commit/7e66f36db666a13b09fb5c31232ab2ca1c2e
- github.com/notepad-plus-plus/notepad-plus-plus/releases/tag/v8.9.7
- github.com/notepad-plus-plus/notepad-plus-plus/security/advisories/GHSA-rqfm-pw34-r7j6
- nvd.nist.gov/vuln/detail/CVE-2026-52886
- cve.org/CVERecord?id=CVE-2026-52886
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.