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.
Date: 2026-02
Affected: microsoft/visual_studio_code
Attack vector: other
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2026-21523
CWE: CWE-367
CVSS: 8 (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H)

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.


Mitigations:

Architectural layers (MAESTRO):