Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
Back to intelligence
endpoint-software-vulnerabilitywidely-deployed-product-advisoryinitial-access-methodproof-of-concept-release

Windows Notepad Markdown Link Validation Flaw Enables Arbitrary Command Execution

Updated 3mo agoFirst seen Feb 20, 20263 sources

Microsoft patched a high-severity remote code execution issue in the modern Windows Notepad (Microsoft Store version) tracked as CVE-2026-20841, where improper validation of links in Markdown (.md) files can lead to arbitrary command execution in the context of the logged-in user. The flaw can be triggered when a victim opens a specially crafted Markdown file and clicks a rendered hyperlink; Notepad’s Markdown rendering/tokenization pipeline turns link text into interactive elements, and the click handler passes attacker-controlled link values onward with insufficient sanitization.

Technical reporting indicates Notepad forwards the link target to ShellExecuteExW() with only minimal filtering (e.g., stripping leading/trailing slashes), allowing malicious protocol URIs such as file:// and ms-appinstaller:// to be invoked via registered protocol handlers. Exploitation is primarily social-engineering driven (email, downloads, or other delivery mechanisms) and requires user interaction (opening the file and clicking the link), but can result in execution of attacker-chosen commands or loading attacker-controlled content depending on protocol handler behavior and system configuration; the issue was disclosed via Zero Day Initiative and credited to researchers including Cristian Papa and Alasdair Gorniak (Delta Obscura), with additional analysis referenced by third-party reporting.

Share:
Windows Notepad Markdown Link Validation Flaw Enables Arbitrary Command Execution
Stay ahead

Get ahead of threats like this

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.

EVENT TIMELINE

How this story unfolded

3 events from the most recent confirmed update back to the earliest known activity.

3 EVENTS
Feb 20, 20264mo ago

Public PoC released for Windows Notepad vulnerability

Public proof-of-concept code for CVE-2026-20841 was released on GitHub, demonstrating how a crafted Markdown file and malicious hyperlink could be used to trigger command execution in vulnerable modern Notepad versions. Reporting noted that no workaround was available and that user interaction was required for exploitation.

Feb 19, 20264mo ago

ZDI publishes technical analysis of Windows Notepad RCE

The Zero Day Initiative published a technical write-up on CVE-2026-20841, explaining that insufficient validation of Markdown link values in modern Windows Notepad could let crafted protocol URIs reach ShellExecuteExW() and trigger arbitrary command execution. The analysis described exploitation via a malicious .md file opened in Notepad and a user clicking a malicious link.

Feb 10, 20265mo ago

Microsoft patches CVE-2026-20841 in February 2026 updates

Microsoft fixed CVE-2026-20841, a high-severity remote code execution flaw in the modern Microsoft Store version of Windows Notepad, during the February 2026 Patch Tuesday cycle. The issue affects Notepad version 11.2508 and earlier, with patched builds reported as 11.2510 and later.

LINKED ENTITIES

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

8 LINKEDOpen in app
Affected products
3 linked
WindowsWindows Admin CenterWindows Notepad
Organizations
4 linked
Microsoft CorporationTechRepublicTrendAI ResearchDelta Obscura
The operational view lives in Mallory

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t — which of your assets are affected, which threat actors are using it right now, which detections to deploy, and what to do next.
Exposure mapping

Map indicators from this story to your assets and identify affected systems in minutes.

Threat actor evidence

Every observed campaign, victim, and pivot linked to actors named in this story.

Associated malware

Malware, exploits, and IOCs connected to the activity described here.

Detection signatures

YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.

Scheduled alerts

Get matching new stories delivered to your team as they break — not the next morning.

AI threads

Ask questions about this story and take action on the answers.