{"id":"CVE-2026-52886","aliases":["CVE-2026-52886"],"related":[],"kind":"vulnerability","state":"published","title":"Notepad++: session.xml backupFilePath starts_with Bypass","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-08-17T20:09:32.188Z","modified":"2026-09-09T21:11:25.743Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":5.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":5.1,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"< 8.9.7","status":"affected"}],"vendor":"notepad-plus-plus","product":"notepad-plus-plus","source":"cvelist"}],"references":[{"url":"https://github.com/notepad-plus-plus/notepad-plus-plus/security/advisories/GHSA-rqfm-pw34-r7j6","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/notepad-plus-plus/notepad-plus-plus/commit/7e66f36db666a13b09fb5c31232ab2ca1c2ebccc","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/notepad-plus-plus/notepad-plus-plus/releases/tag/v8.9.7","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-08-18T15:20:17.703Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-52886","url":"https://www.cve.org/CVERecord?id=CVE-2026-52886","licence":"CVE Terms of Use","modified":"2026-08-18T15:20:41.005Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-52886","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52886","licence":"Public domain","modified":"2026-09-09T21:11:25.743Z"}],"updatedAt":"2026-11-25T22:59:33.381Z","epss":{"score":0.00238,"percentile":0.15878,"date":"2026-12-01T12:00:22.000Z"}}