GitHub Copilot and Visual Studio
CVE-2026-21256 — GitHub Copilot and Visual Studio Remote Code Execution Vulnerability
Executive Summary
Improper neutralization of special elements used in a command ('command injection') in GitHub Copilot and Visual Studio allows an unauthorized attacker to execute code 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.01101
probability of exploitation in the next 30 days
0.61394 percentile - updated 2026-06-20
View on FIRST.org
Affected Products
2 affected products
| Product | KB Article | Severity | Impact | Restart Required |
|---|---|---|---|---|
| Microsoft Visual Studio 2022 version 17.14 | Release Notes (Security Update) |
Important | Remote Code Execution | Maybe |
| Microsoft Visual Studio 2026 version 18.3 | Release Notes (Security Update) |
Important | Remote Code Execution | 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
References
On This Page