CVE-2026-21523
Analyzed Analyzed - Analysis Complete
TOCTOU Race Condition in GitHub Copilot Enables Remote Code Execution

Publication date: 2026-02-10

Last updated on: 2026-02-11

Assigner: Microsoft Corporation

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-02-10
Last Modified
2026-02-11
Generated
2026-06-16
AI Q&A
2026-02-10
EPSS Evaluated
2026-06-15
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
microsoft visual_studio_code to 1.109.2 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-367 The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability is a time-of-check time-of-use (TOCTOU) race condition found in GitHub Copilot and Visual Studio. It allows an authorized attacker to execute code over a network by exploiting the timing between checking a condition and using the result of that check.

Impact Analysis

The vulnerability can have a severe impact as it allows an attacker with some level of authorization to execute arbitrary code remotely. This can lead to complete compromise of the affected system, including unauthorized access, data modification, and disruption of availability.

Compliance Impact

I don't know

Detection Guidance

I don't know

Mitigation Strategies

I don't know

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-21523. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart