Quick answers
- Is CVE-2026-49492 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-49492 being exploited in the wild.
- How severe is CVE-2026-49492?
- High severity, with a CVSS score of 8.8, published 5 June 2026.
- Which products and versions are affected?
- Shd101wyy Markdown Preview Enhanced < 0.8.28.
- Is there a fix for CVE-2026-49492?
- A patch was published on 2026-06-05: Fixed in version 0.8.28 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-49492 attacked?
- It is attacked over the network, in a network appliance.
- Am I affected by CVE-2026-49492?
- Check whether you run Shd101wyy Markdown Preview Enhanced at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
Markdown Preview Enhanced prior to version 0.8.28 is vulnerable to OS command injection (CWE-78) on Windows systems. The vulnerability exists because the application opens external files and links from the preview through a system shell without properly validating untrusted inputs. Specifically, the diagram 'filename' attribute, imported file paths, and the 'latex_engine' code-chunk attribute are susceptible to command injection. An attacker can achieve remote code execution by convincing a user to open or preview a malicious markdown document. The fix in version 0.8.28 involves passing these inputs as literal arguments rather than through a shell and implementing stricter input validation.
Affected products
- shd101wyy Markdown Preview Enhanced < 0.8.28
Timeline
- 2026-06-05: disclosed
- 2026-06-05: patched: Fixed in version 0.8.28
- 2026-06-05: advisory