CVE-2026-21523
GitHub Copilot and Visual Studio Code Remote Code Execution Vulnerability
- State
- Published
- Severity
- 8.0 High
- Published
- Feb 10, 2026
- Updated
- Aug 19, 2026
- Reserved
- Dec 30, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 8.0 High | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C | microsoft |
Weaknesses
- CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
Affected Products
| Product | Versions |
|---|---|
Microsoft Visual Studio Code CoPilot Chat ExtensionMicrosoft |
|
Visual Studio CodeMicrosoft |
|
References
- GitHub Copilot and Visual Studio Code Remote Code Execution Vulnerabilityvendor-advisorypatch
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.