PatchSiren cyber security CVE debrief
CVE-2026-49492 shd101wyy CVE debrief
CVE-2026-49492 is a HIGH severity vulnerability in Markdown Preview Enhanced before version 0.8.28. The vulnerability allows for OS command injection when a crafted markdown document is previewed on Windows. This is due to the application opening external files and links from the preview through a shell without validating untrusted inputs taken from the markdown document.
- Vendor
- shd101wyy
- Product
- Markdown Preview Enhanced
- CVSS
- HIGH 8.6
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-06-05
- Original CVE updated
- 2026-06-05
- Advisory published
- 2026-06-05
- Advisory updated
- 2026-06-05
Who should care
Users of Markdown Preview Enhanced on Windows should update to version 0.8.28 or later to mitigate this vulnerability.
Technical summary
The vulnerability exists in the handling of the diagram filename attribute, imported file paths, and the latex_engine code-chunk attribute in markdown documents. An attacker can inject operating system commands that execute when the document is previewed.
Defensive priority
HIGH
Recommended defensive actions
- Update Markdown Preview Enhanced to version 0.8.28 or later.
- Be cautious when previewing markdown documents from untrusted sources.
Evidence notes
The CVE record and NVD detail can be found at [cve-org] and [nvd] respectively. Additional information is available at [ref-4] and [ref-5].
Sources and references
Verified primary and authoritative sources
-
CVE-2026-49492 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-49492
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-49492 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-49492
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/shd101wyy/vscode-markdown-preview-enhanced/releases/tag/0.8.28
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/markdown-preview-enhanced-os-command-injection-in-external-file-and-link-opening
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.