CVE-2026-137996: Zettlr before 4.11.0 Unvalidated URI Scheme Handling via Markdown Links
Zettlr before 4.11.0 fails to validate URI schemes in Markdown link targets, allowing attackers to launch arbitrary registered protocol handlers via Electron shell.openExternal without confirmation. Attackers can craft documents whose Ctrl/Cmd-clicked links use smb:// to leak NTLM credential hashes on Windows or invoke custom protocol handlers with attacker-controlled parameters.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to credential leakage?
Windows users who Ctrl/Cmd-click an attacker-controlled Markdown link using an smb:// target may expose NTLM credential hashes. Users on other platforms may still be exposed to invocation of registered custom protocol handlers.
What must an attacker do to exploit this issue?
The attacker must provide a Markdown document containing a malicious link target. A user must then Ctrl/Cmd-click that link; no authentication or elevated privileges are required.
Are installations running Zettlr 4.11.0 affected?
No. The issue affects Zettlr versions before 4.11.0.
What can be done while an update is not available?
Avoid Ctrl/Cmd-clicking links in untrusted Markdown documents, especially links using smb:// or unfamiliar custom URI schemes. Treat externally supplied documents as potentially capable of launching registered protocol handlers.