CVE-2026-21257
GitHub Copilot and Visual Studio Elevation of Privilege Vulnerability
- State
- Published
- Severity
- 8.0 High
- Published
- Feb 10, 2026
- Updated
- Aug 19, 2026
- Reserved
- Dec 11, 2025
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 8.0 High | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C | microsoft |
Weaknesses
- CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')
Affected Products
| Product | Versions |
|---|---|
Microsoft Visual Studio 2022 version 17.14Microsoft |
|
Microsoft Visual Studio 2026 version 18.3Microsoft |
|
References
- GitHub Copilot and Visual Studio Elevation of Privilege Vulnerabilityvendor-advisorypatch
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.