What’s Vulnerable › Vulnerabilities
CVE-2026-21523: GitHub Copilot and Visual Studio Code Remote Code Execution Vulnerability
- Severity: high (CVSS 8.0 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-02-10 · updated 2026-08-19
- Weakness: CWE-367
Description
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.
Affected products
- Microsoft Visual Studio Code: before 1.109.2 — fixed in 1.109.2
- Microsoft Visual Studio Code CoPilot Chat Extension: from 0.27.0 before 0.37.1 — fixed in 0.37.1
- Microsoft Visual Studio Code: from 1.0.0 before 1.110.1 — fixed in 1.110.1
How to fix
Upgrade to a fixed version: Microsoft Visual Studio Code 1.109.2; Microsoft Visual Studio Code CoPilot Chat Extension 0.37.1; Microsoft Visual Studio Code 1.110.1. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-21523 or the next vulnerability affects your stack