Skip to main content
Mallory
MediumPublic exploitVulnerability

CVE-2026-52886: Path Traversal in Notepad++ session.xml Handling

Published Aug 17, 2026 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS5.1Medium · v4
EPSS0.17%3rd percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
IdentifiersCVE-2026-52886CWE-22 · Improper Limitation of a Pathname…

CVE-2026-52886 is a path traversal and path validation bypass vulnerability in Notepad++ session management, affecting versions prior to 8.9.7. The flaw resides in handling of session.xml entries, specifically validation of the backupFilePath attribute using a raw textual prefix check based on starts_with without first normalizing the path. Because traversal sequences are not canonicalized before validation, a crafted path can satisfy the prefix check while still resolving outside the intended directory. When Notepad++ subsequently loads the manipulated session, including on the next launch in snapshot mode, it may open attacker-selected files accessible to the current user.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows unauthorized access to arbitrary files reachable with the privileges of the current user. This can result in disclosure of sensitive local data, including configuration material and other user-accessible files, by causing Notepad++ to load those files into editor tabs. The issue is primarily an information disclosure and unauthorized file access vulnerability rather than direct code execution.

Mitigation

If you can’t patch tonight, do this now.

Until patched, restrict the ability of untrusted users, processes, or content to modify session.xml or other Notepad++ configuration files. Avoid using untrusted portable installations or workflows where local session files can be tampered with. Limit exposure by ensuring Notepad++ does not process attacker-controlled session state and by protecting user profile and application configuration locations with appropriate filesystem permissions.

Remediation

Patch, then assume compromise.

Upgrade Notepad++ to version 8.9.7 or later, which includes a fix for the session.xml path validation flaw. Remediation requires correcting path handling so that candidate paths are normalized and validated canonically before use, rather than relying on raw string prefix comparisons.

Public exploits

Exploits

No validated public exploits yet. Hidden: 1 rejected by Mallory's analysis as not a working exploit.

View more in app →
Every candidate exploit was rejected by Mallory's analysis.
FAQ

Frequently asked questions

Is CVE-2026-52886 exploited in the wild?
As of Sep 25, 2026, Mallory has no reports of CVE-2026-52886 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-52886?
Yes. As of Sep 25, 2026, Mallory has reports of a public exploit for CVE-2026-52886.
Is there a patch for CVE-2026-52886?
Upgrade Notepad++ to version 8.9.7 or later, which includes a fix for the session.xml path validation flaw. Remediation requires correcting path handling so that candidate paths are normalized and validated canonically before use, rather than relying on raw string prefix comparisons.
How severe is CVE-2026-52886?
CVE-2026-52886 has a CVSS v4 score of 5.1 (Medium) and an EPSS score of 0.17% (3rd percentile) as of Sep 25, 2026.
Activity feed

Recent activity

7 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity3Community discussion across Reddit, Mastodon, and other social sources.