GitHub Copilot and Visual Studio
CVE-2026-21523 — GitHub Copilot and Visual Studio Code Remote Code Execution Vulnerability
Executive Summary
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.
Overview
8
CVSS HIGH
Important
MS Severity
Not Exploited
MS Exploit Status
Less Likely
MS Exploit Likelihood
CVSS Vector
ATTACK VECTOR
Network
ATTACK COMPLEXITY
Low
PRIVILEGES REQUIRED
Low
USER INTERACTION
Required
SCOPE
Unchanged
Temporal Score: 7.0
EPSS Score
0.00792
probability of exploitation in the next 30 days
0.51511 percentile - updated 2026-06-20
View on FIRST.org
Affected Products
2 affected products
| Product | KB Article | Severity | Impact | Restart Required |
|---|---|---|---|---|
| Microsoft Visual Studio Code CoPilot Chat Extension | Release Notes (Security Update) |
Important | Remote Code Execution | Maybe |
| Visual Studio Code | Release Notes (Security Update) |
Important | Remote Code Execution | Maybe |
Patches
1 patch
| Article | Type | Restart |
|---|---|---|
Release Notes |
Security Update | Maybe |
Known Exploits
No known exploits have been linked for this CVE yet. When available, exploit references will be sourced from public repositories and may be unverified, incomplete, or non-functional. Always review code carefully before use in any environment.
Acknowledgments
Oleh Konko with 1seal, Anonymous, Alexander Tan
References
On This Page