Notepad++: session.xml backupFilePath starts_with Bypass
cve-program · CVE-2026-52886
PublishedNotepad++ 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-52886 · CVE overview and exploitation status
cve-program · CVE-2026-52886
Related changes
Linked by CVE identifierNo related changes are available here.