GitHub Copilot and Visual Studio
CVE-2026-21257 — GitHub Copilot and Visual Studio Elevation of Privilege Vulnerability
Executive Summary
Improper neutralization of special elements used in a command ('command injection') in GitHub Copilot and Visual Studio allows an authorized attacker to elevate privileges over a network.
Overview
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
Low
USER INTERACTION
Required
SCOPE
Unchanged
Temporal Score: 7.0
EPSS Score
0.00845
probability of exploitation in the next 30 days
0.532 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 | Elevation of Privilege | Maybe |
| Microsoft Visual Studio 2026 version 18.3 | Release Notes (Security Update) |
Important | Elevation of Privilege | 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