CVE-2026-49492

HIGH CVSS 4.0: 8.6 EPSS 0.34%
Updated Oct 26, 2026
Markdown Preview
Parameter Value
CVSS 8.6 (HIGH)
Affected Versions before 0.8.28
Fixed In 0.8.28
Type CWE-78 (OS Command Injection)
Vendor Markdown Preview
Public PoC No

Markdown Preview Enhanced before 0.8.28 opens external files and links from the preview through a shell and does not validate untrusted inputs taken from the markdown document - the diagram filename attribute, imported file paths, and the latex_engine code-chunk attribute. On Windows, a crafted markdown document can inject operating system commands that execute when the document is previewed. Fixed in 0.8.28 by passing these inputs as literal arguments instead of through a shell and validating them before use.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
Active
User action required

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Weakness Type (CWE)