CVE-2026-49492
highpriority · track · 10EPSS 0.003 · 27 %ileexploit · PoCEURUEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
- byte16384/CVE-2026-49492-PoCbyte16384/CVE-2026-49492-PoCPoC · poc_in_github
affected products (5)
Products and version ranges known to be affected.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://github.com/shd101wyy/vscode-markdown-preview-enhanced/releasesPatchcnnvd
- https://github.com/shd101wyy/vscode-markdown-preview-enhanced/releases/tag/0.8.28cnnvd
- https://www.vulncheck.com/advisories/markdown-preview-enhanced-os-command-injection-in-external-file-and-link-openingcnnvd
- https://github.com/shd101wyy/vscode-markdown-preview-enhanced/releases/tag/0.8.28enisa_euvd
- https://www.vulncheck.com/advisories/markdown-preview-enhanced-os-command-injection-in-external-file-and-link-openingenisa_euvd
- https://github.com/shd101wyy/vscode-markdown-preview-enhanced/releases/tag/0.8.28nvd
- https://www.vulncheck.com/advisories/markdown-preview-enhanced-os-command-injection-in-external-file-and-link-openingnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan