CVE-2026-21523
published high CVSS 3.1 · 8.0GitHub Copilot and Visual Studio Code Remote Code Execution Vulnerability
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.0 / 10
- Severity
- high
- Provider
- microsoft · cna
- Vector string
- 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
- Scenarios
- en-US: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Microsoft | Microsoft Visual Studio Code CoPilot Chat Extension | 0.27.0 to < 0.37.1 (affected · custom) | microsoft · cna |
| Microsoft | Visual Studio Code | 1.0.0 to < 1.110.1 (affected · custom) | microsoft · cna |
Weaknesses
1- CWE-367 CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition
References
1- GitHub Copilot and Visual Studio Code Remote Code Execution Vulnerability https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-21523
Provider assertions
2microsoft · cna
GitHub Copilot and Visual Studio Code Remote Code Execution Vulnerability
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bf6b9ca0367074e05c562315ea156fbbda98fcca1ed9c8e64d220f352711db80
- Ingested
- 30 Nov 2026, 18:39:56 UTC
- Source record
- Official CVE record