Path Traversal in Notepad++ trusted directory validation
CVE-2026-52884 affects Notepad++ v8.9.6.1. The vulnerability is in the trusted-directory validation added around Command::run() in RunDlg.cpp before invoking ShellExecute(). The helper function isInTrustedDirectory() does not canonicalize the candidate path before evaluating it and instead performs a prefix-based trust check using PathIsPrefix() or equivalent logic. Because the check is performed on a non-canonicalized path string, an attacker can supply a path that begins with a trusted directory prefix but then includes traversal sequences such as ...., causing the validation to succeed even though the fully resolved path points outside the trusted directory. This results in improper restriction of a pathname to an intended directory and can allow execution of an executable from an untrusted location.
Are you exposed to this one?
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
Impact, mitigation & remediation
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Mitigation
If you can’t patch tonight, do this now.
Remediation
Patch, then assume compromise.
Exploits
No public exploits tracked yet. Mallory keeps watching.
No public exploit code observed for this vulnerability.
Recent activity
25 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
The version that knows your environment.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.