CVE-2026-21523: Microsoft Visual Studio Code CoPilot Chat Extension · Time-of-check Time-of-use (TOCTOU) Race Condition
Affects Microsoft Visual Studio Code CoPilot Chat ExtensionSource CVE Database V5
Not known to be exploited · CVSS 8.0 High : upgrade to 0.37.1 soon.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.7% chance of exploitation in 30 days – higher than 55% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.37.1, 1.110.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:CExploitation evidence
Disclosed: evidence found.
CVE published 10 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade Microsoft Visual Studio Code CoPilot Chat Extension to 0.37.1; Visual Studio Code to 1.110.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| MicrosoftMicrosoft Visual Studio Code CoPilot Chat Extension | Affected
| Fixed in
|
| MicrosoftVisual Studio Code | Affected
| Fixed in
|
AI-suggested
An official fix is available from Microsoft. Users of the Microsoft Visual Studio Code CoPilot Chat Extension version 0.27.0 should apply the vendor-provided patch immediately to remediate this vulnerability. Refer to the Microsoft Security Response Center advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-21523 for detailed update instructions.
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.