PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-54566 shd101wyy CVE debrief

The CVE-2026-54566 vulnerability in Markdown Preview Enhanced allows for remote code execution via VM sandbox escape. Affected versions are before 0.8.29. Users should update to version 0.8.29 or later to mitigate this issue. The vulnerability is caused by the evaluation of repository-controlled .crossnote/config.js and .crossnote/parser.js files with vm.runInNewContext, which does not provide a security boundary from the Node.js host realm. This issue can be exploited by opening a Markdown file in a malicious repository, which automatically loads these files, and prototype-chain traversal can reach the host Function constructor and process object, allowing operating-system to run

Vendor
shd101wyy
Product
vscode-markdown-preview-enhanced
CVSS
HIGH 8.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-14
Original CVE updated
2026-10-14
Advisory published
2026-10-14
Advisory updated
2026-10-14

Who should care

Users of Markdown Preview Enhanced, particularly those using versions before 0.8.29, should assess their exposure and update to version 0.8.29 or later to mitigate this issue. This includes operators, platform administrators, vulnerability management teams, and security teams who need to review and update affected installations.

Why it matters

CVE-2026-54566 vulnerability in Markdown Preview Enhanced allows for remote code execution via VM sandbox escape, affecting versions before 0.8.29.

  • Potential remote code execution
  • VM sandbox escape vulnerability
  • Affected versions require update to 0.8.29 or later

Technical summary

The CVE-2026-54566 vulnerability in Markdown Preview Enhanced allows for remote code execution via VM sandbox escape. This is due to the evaluation of repository-controlled .crossnote/config.js and .crossnote/parser.js files with vm.runInNewContext, which does not provide a security boundary from the Node.js host realm. The vulnerability can be exploited by opening a Markdown file in a malicious repository, which automatically loads these files, and prototype-chain traversal can reach the host Function constructor and process object.

Defensive priority

High

Recommended defensive actions

  • Update to version 0.8.29 or later
  • Review and update affected installations
  • Monitor for potential exploitation attempts
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented

Evidence notes

The CVE record and source item provide details on the vulnerability, including its description, affected versions, and fixed version. The CVE record was published on 2026-10-14T19:08:43.663Z and has not been modified since then. The source item provides additional information on the vulnerability. However, the details are limited, and further verification is required to confirm the affected scope and severity.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-54566 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-54566

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-54566 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-54566

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • Markdown Preview Enhanced: Remote Code Execution via VM Sandbox Escape in `.crossnote/config.js`

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/54xxx/CVE-2026-54566.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/shd101wyy/vscode-markdown-preview-enhanced/security/advisories/GHSA-427h-jhpr-8jch

    Supplemental source - x_refsource_CONFIRM

  • Source reference

    Unverified legacy reference

    URL: https://github.com/shd101wyy/crossnote/pull/443

    Supplemental source - x_refsource_MISC

  • Source reference

    Unverified legacy reference

    URL: https://github.com/shd101wyy/vscode-markdown-preview-enhanced/pull/2320

    Supplemental source - x_refsource_MISC

  • Source reference

    Unverified legacy reference

    URL: https://github.com/shd101wyy/crossnote/commit/e4890d64502e53b717cce0cb73f1a78b244dc640

    Supplemental source - x_refsource_MISC

  • Source reference

    Unverified legacy reference

    URL: https://github.com/shd101wyy/vscode-markdown-preview-enhanced/commit/0d4010988c6ae56a38c6dec4a7509cbd5a7dcb4c

    Supplemental source - x_refsource_MISC

  • Source reference

    Unverified legacy reference

    URL: https://github.com/shd101wyy/crossnote/releases/tag/0.9.30

    Supplemental source - x_refsource_MISC

  • Source reference

    Unverified legacy reference

    URL: https://github.com/shd101wyy/vscode-markdown-preview-enhanced/releases/tag/0.8.29

    Supplemental source - x_refsource_MISC

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.