Skip to main content
Mallory
← Back to News
endpoint-software-vulnerabilitywidely-deployed-product-advisoryinitial-access-methodproof-of-concept-release

Windows Notepad Markdown Link Validation Flaw Enables Arbitrary Command Execution

Vulnerability Disclosure · 4 sources · Updated 5mo ago · First seen Feb 20, 2026

Windows Notepad Markdown Link Validation Flaw Enables Arbitrary Command Execution

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.

Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

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

3 events · Feb 10, 2026 – Feb 20, 2026
  1. Feb 20, 20269mo 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.

  2. Feb 19, 20269mo 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.

  3. Feb 10, 20269mo 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.

Open in app →

Affected products

1 linked
Windows Notepad

Organizations

1 linked
Microsoft Corporation
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

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, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.