5.1Medium

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

notepad-plus-plus notepad-plus-plus Published: (2 months ago)

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.

Weakness (CWE): CWE-22

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
notepad-plus-plus notepad-plus-plus < 8.9.7

References and patches