CVE Explorer
CVE-2026-52884
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 ShellExe
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"notepad-plus-plus","vendor":"notepad-plus-plus","versions":[{"status":"affected","version":"= 8.9.6.1"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:cb2d5ae53d7a1921a9e4d582edaa023645fa1ba7d473ace7e6d118f8a95e924f · sha256:d182617895b0b82e… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:cb2d5ae53d7a1921a9e4d582edaa023645fa1ba7d473ace7e6d118f8a95e924f · sha256:d182617895b0b82e… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-42","description":"CWE-42: Path Equivalence: 'filename.' (Trailing Dot)","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:cb2d5ae53d7a1921a9e4d582edaa023645fa1ba7d473ace7e6d118f8a95e924f · sha256:d182617895b0b82e… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/notepad-plus-plus/notepad-plus-plus/commit/ea1508855e9c4528f6198ce9d345f13cb759ebf4","tags":["x_refsource_MISC"],"url":"https://github.com/notepad-plus-plus/notepad-plus-plus/commit/ea1508855e9c4528f6198ce9d345f13cb759ebf4"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:cb2d5ae53d7a1921a9e4d582edaa023645fa1ba7d473ace7e6d118f8a95e924f · sha256:d182617895b0b82e… · /containers/cna/references/1
{"name":"https://github.com/notepad-plus-plus/notepad-plus-plus/security/advisories/GHSA-p58x-r3c9-x9p6","tags":["x_refsource_CONFIRM"],"url":"https://github.com/notepad-plus-plus/notepad-plus-plus/security/advisories/GHSA-p58x-r3c9-x9p6"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:cb2d5ae53d7a1921a9e4d582edaa023645fa1ba7d473ace7e6d118f8a95e924f · sha256:d182617895b0b82e… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.