Windows Notepad Markdown Link Handling Flaw Enables Remote Code Execution
Vulnerability Disclosure · 7 sources · Updated 5mo ago · First seen Feb 11, 2026

Microsoft patched a high-severity remote code execution issue in the modern Windows Notepad (Microsoft Store) app, tracked as CVE-2026-20841 (CVSS 8.8), caused by command injection (CWE-77) tied to improper neutralization of special elements used in commands. The weakness can be triggered when a user opens a booby-trapped Markdown (.md) file in Notepad and clicks an embedded malicious link; the app can be coerced into launching unverified protocols that load and execute remote content, resulting in code execution in the security context of the logged-in user (potentially full compromise if the user has admin rights).


