Back to vendor advisories
Microsoft Security Response CenterCVE-2026-21523

GitHub Copilot and Visual Studio Code Remote Code Execution Vulnerability

Time-of-check time-of-use (toctou) race condition in GitHub Copilot and Visual Studio allows an authorized attacker to execute code over a network.

8.0CVSS out of 10High severity
Scope

What the vendor says is affected

  • Microsoft Visual Studio Code CoPilot Chat Extension
  • Visual Studio Code

Versions the vendor lists as fixed

  • 0.37.1
  • 1.110.1
Next step

What the vendor recommends

Release Notes

Review the complete instructions on the vendor's site
Timeline

When this advisory changed

  1. Published by Microsoft Security Response Center

    The publication date reported by the vendor.

  2. Updated by Microsoft Security Response Center

    The vendor changed the advisory after it was first published.

  3. Added to SecurityAlert

    We collected the advisory from the official source.

Vulnerabilities

CVEs named in this advisory