{"id":"CVE-2026-52884","aliases":["CVE-2026-52884"],"related":[],"kind":"vulnerability","state":"published","title":"Notepad++: CVE-2026-48800 Bypass","summary":"Notepad++ is a free and open-source source code editor. In v8.9.6.1, isInTrustedDirectory() does NOT canonicalize the path before checking. It uses a prefix-based check (PathIsPrefix() or equivalent) that matches paths starting with trusted directory strings. A path traversal using ..\\..\\ after a trusted directory prefix passes the check while resolving to an untrusted location. The CVE-2026-48800 patch adds isInTrustedDirectory() validation in Command::run() (RunDlg.cpp) before calling ShellExecute(). This function checks whether the resolved executable path is under a trusted directory.  This vulnerability is fixed in 8.9.6.2.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Notepad++ is a free and open-source source code editor. In v8.9.6.1, isInTrustedDirectory() does NOT canonicalize the path before checking. It uses a prefix-based check (PathIsPrefix() or equivalent) that matches paths starting with trusted directory strings. A path traversal using ..\\..\\ after a trusted directory prefix passes the check while resolving to an untrusted location. The CVE-2026-48800 patch adds isInTrustedDirectory() validation in Command::run() (RunDlg.cpp) before calling ShellExecute(). This function checks whether the resolved executable path is under a trusted directory.  This vulnerability is fixed in 8.9.6.2.","source":"cvelist"}],"published":"2026-06-26T20:11:40.227Z","modified":"2026-06-29T21:22:26.173Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-42"],"affected":[{"ranges":[{"version":"= 8.9.6.1","status":"affected"}],"vendor":"notepad-plus-plus","product":"notepad-plus-plus","source":"cvelist"},{"ranges":[{"status":"affected","version":"8.9.6.1"}],"vendor":"notepad-plus-plus","product":"notepad++","cpe":"cpe:2.3:a:notepad-plus-plus:notepad\\+\\+:8.9.6.1:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/notepad-plus-plus/notepad-plus-plus/security/advisories/GHSA-p58x-r3c9-x9p6","tags":["exploit","patch","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/notepad-plus-plus/notepad-plus-plus/commit/ea1508855e9c4528f6198ce9d345f13cb759ebf4","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-06-29T12:10:33.378Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-52884","url":"https://www.cve.org/CVERecord?id=CVE-2026-52884","licence":"CVE Terms of Use","modified":"2026-06-29T12:11:01.248Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-52884","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52884","licence":"Public domain","modified":"2026-06-29T21:22:26.173Z"}],"updatedAt":"2026-11-25T22:59:26.546Z","epss":{"score":0.00211,"percentile":0.11942,"date":"2026-12-01T12:00:22.000Z"}}