{"id":"CVE-2026-52886","published":"2026-08-17T20:09:32Z","modified":"2026-08-18T15:20:41Z","title":"Notepad++: session.xml backupFilePath starts_with Bypass","vendor":"notepad-plus-plus","product":"notepad-plus-plus","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.1,"severity":"MEDIUM","version":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00165,"percentile":0.05877,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/notepad-plus-plus/notepad-plus-plus/security/advisories/GHSA-rqfm-pw34-r7j6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/notepad-plus-plus/notepad-plus-plus/commit/7e66f36db666a13b09fb5c31232ab2ca1c2ebccc","tags":["x_refsource_MISC"]},{"url":"https://github.com/notepad-plus-plus/notepad-plus-plus/releases/tag/v8.9.7","tags":["x_refsource_MISC"]}],"priority":{"score":9.7,"factors":[{"name":"EPSS percentile","points":1.18},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.57}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-08-06","earliestUrl":"https://github.com/v3s9er/CVE-2026-52886","repos":[{"name":"v3s9er/CVE-2026-52886","url":"https://github.com/v3s9er/CVE-2026-52886","stars":0,"created":"2026-08-06"}]},"first":{"date":"2026-08-06","source":"PoC-in-GitHub","url":"https://github.com/v3s9er/CVE-2026-52886"},"provenance":"source"},"vendorSlug":"notepad-plus-plus","affectedVersions":[{"vendor":"notepad-plus-plus","product":"notepad-plus-plus","versions":["< 8.9.7"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-18T15:20:17.703489Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-60374","exploited":false,"provenance":"source"}}