Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-21523: CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition in Microsoft Microsoft Visual Studio Code CoPilot Chat Extension

0
High
VulnerabilityCVE-2026-21523cvecve-2026-21523cwe-367
Published: Tue Feb 10 2026 (02/10/2026, 17:51:25 UTC)
Source: CVE Database V5
Vendor/Project: Microsoft
Product: Microsoft Visual Studio Code CoPilot Chat Extension

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/12/2026, 05:15:24 UTC

Technical Analysis

This vulnerability is a TOCTOU race condition (CWE-367) in the Microsoft Visual Studio Code CoPilot Chat Extension (version 0.27.0). It allows an attacker with authorized access to execute arbitrary code remotely by exploiting the timing window between checking a condition and using the checked resource. The CVSS v3.1 base score is 8.0, indicating high severity with network attack vector, low attack complexity, required privileges, and user interaction. Microsoft has published an official fix for this vulnerability.

Potential Impact

Successful exploitation of this vulnerability can lead to remote code execution with high impact on confidentiality, integrity, and availability. An attacker with authorized access can leverage this race condition to run arbitrary code over the network, potentially compromising the affected system. No known exploits are currently reported in the wild.

Mitigation Recommendations

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
microsoft
Date Reserved
2025-12-30T18:10:54.846Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
official-fix
Vendor Advisory Urls
[{"url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-21523","vendor":"Microsoft"}]

Threat ID: 698b76064b57a58fa120a69e

Added to database: 2/10/2026, 6:16:38 PM

Last enriched: 5/12/2026, 5:15:24 AM

Last updated: 5/22/2026, 5:55:46 PM

Views: 285

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses