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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Microsoft | Microsoft Visual Studio Code CoPilot Chat Extension | 0.27.0 – < 0.37.1 | 0.37.1 |
| Microsoft | Visual Studio Code | 1.0.0 – < 1.110.1 | 1.110.1 |
Advisories 3
- MSRC-CVE-2026-21523 GitHub Copilot and Visual Studio Code Remote Code Execution Vulnerability Microsoft Security Response Center · Apr 20, 2026
- WID-SEC-2026-0367 Microsoft DeveloperTools (Visual Studio Code und .NET): Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 6, 2026
- NCSC-2026-0056 Kwetsbaarheden verholpen in Microsoft Developer Tools NCSC-NL (Netherlands) · Feb 10, 2026
References
- GitHub Copilot and Visual Studio Code Remote Code Execution Vulnerability vendor-advisory patch