CVE-2026-21523

GitHub Copilot and Visual Studio Code Remote Code Execution Vulnerability

HIGH 8.0

At a glance

Source
NVD
EPSS
EPSS 0.78 % · percentile 56 ()
State
PUBLISHED
Published
Updated
Assigner
microsoft
NVD status
Analyzed

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.

Weaknesses (CWE)

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

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.0CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:Cmicrosoft
CVSS 3.1HIGH 8.0CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:HNVD · secure@microsoft.com (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Microsoft · Microsoft Visual Studio Code CoPilot Chat Extensionaffected 0.27.0 < 0.37.1
Microsoft · Visual Studio Codeaffected 1.0.0 < 1.110.1

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD