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

Read the record on cve.org

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

CVSSScoreVectorSource
3.18.0 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:Cmicrosoft

Weaknesses

  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition

Affected Products

ProductVersions
Microsoft Visual Studio Code CoPilot Chat ExtensionMicrosoft
  • 0.27.0 to before 0.37.1Affected
Visual Studio CodeMicrosoft
  • 1.0.0 to before 1.110.1Affected

References

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.