CVE-2026-20841: Windows Notepad Markdown Link Command Injection RCE
- Vendor
- Microsoft Corporation
CVE-2026-20841 is a command-injection vulnerability in the Microsoft Store-distributed Windows Notepad application’s Markdown hyperlink handling. When rendering a Markdown document, the vulnerable application passes a user-clicked link to Windows protocol handling with insufficient neutralization and protocol validation. Crafted links using non-web URI schemes can cause the operating system to load and execute attacker-controlled local or remote content. The issue affects modern Notepad versions before 11.2510; the legacy Windows Notepad implementation without Markdown rendering is not affected.
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.
A successful attack enables arbitrary command or code execution in the security context of the user who opened the malicious Markdown document. An attacker can use this to execute payloads, access resources available to that user, establish persistence, or conduct further local actions. Impact is greater where the victim is an administrator, since execution inherits the victim’s elevated rights.
Mitigation
If you can’t patch tonight, do this now.
No complete workaround is available for unpatched installations. Until updated, prevent or restrict use of the modern Notepad application for untrusted Markdown documents; instruct users not to open unexpected Markdown files or activate embedded links; apply least-privilege principles; and monitor for anomalous child-process creation or protocol-handler activity initiated by Notepad. The fixed version presents a warning for non-HTTP(S) link schemes, but users should not rely on warning prompts as a sole control.
Remediation
Patch, then assume compromise.
Update the Microsoft Store version of Windows Notepad to build 11.2510 or later. Enable and verify Microsoft Store application updates, and enforce the fixed minimum version across managed endpoints.
Exploits
5 exploits validated by Mallory's analysis. Hidden: 7 rejected by Mallory's analysis as not a working exploit; 2 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2026-20841 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2026-20841 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-20841?
- Yes. Mallory tracks 5 public exploits or proofs of concept for CVE-2026-20841, the earliest disclosed Feb 11, 2026.
- Is there a patch for CVE-2026-20841?
- Update the Microsoft Store version of Windows Notepad to build 11.2510 or later. Enable and verify Microsoft Store application updates, and enforce the fixed minimum version across managed endpoints.
- What products are affected by CVE-2026-20841?
- Microsoft Corporation Windows Notepad and Microsoft Corporation Window Notepad.
- How severe is CVE-2026-20841?
- CVE-2026-20841 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 8.9% (95th percentile) as of Sep 25, 2026.
Recent activity
261 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.