GitHub Copilot and Visual Studio Code
CVE-2026-21518 — GitHub Copilot and Visual Studio Code Security Feature Bypass Vulnerability
Executive Summary
Improper neutralization of special elements used in a command ('command injection') in GitHub Copilot and Visual Studio Code allows an unauthorized attacker to bypass a security feature over a network.
Overview
8.8
CVSS HIGH
Important
MS Severity
Not Exploited
MS Exploit Status
Less Likely
MS Exploit Likelihood
CVSS Vector
ATTACK VECTOR
Network
ATTACK COMPLEXITY
Low
PRIVILEGES REQUIRED
None
USER INTERACTION
Required
SCOPE
Unchanged
Temporal Score: 7.7
EPSS Score
0.01357
probability of exploitation in the next 30 days
0.68044 percentile - updated 2026-06-20
View on FIRST.org
Affected Products
2 affected products
| Product | KB Article | Severity | Impact | Restart Required |
|---|---|---|---|---|
| Microsoft Visual Studio Code CoPilot Chat Extension | Release Notes (Security Update) |
Important | Security Feature Bypass | Maybe |
| Visual Studio Code | Release Notes (Security Update) |
Important | Security Feature Bypass | Maybe |
Patches
1 patch
| Article | Type | Restart |
|---|---|---|
Release Notes |
Security Update | Maybe |
Known Exploits
No known exploits have been linked for this CVE yet. When available, exploit references will be sourced from public repositories and may be unverified, incomplete, or non-functional. Always review code carefully before use in any environment.
Acknowledgments
Amol Dosanjh, Dre Cura (@dre_cura), and Nicholas Zubrisky (@NZubrisky) of TrendAI Research of Trend with https://www.zerodayinitiative.com/, Hüseyin TINTAŞ with Kredi Kayıt Bürosu, Suryakant Dhakane
References
On This Page