CVE-2026-21257 GitHub Copilot and Visual Studio Elevation of Privilege Vulnerability
HighCVSS 8.0
EPSS 0.89%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
4 packages: 4 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Microsoft visual studio 2022 | < 17.14.26; >= 17.14.0, < 17.14.26 | 17.14.26 | Fixed |
| Microsoft Visual Studio 2022 version 17.14 | >= 17.14.0, < 17.14.26 | 17.14.26 | Fixed |
| Microsoft visual studio 2026 | < 18.3.0 | 18.3.0 | Fixed |
| Microsoft Visual Studio 2026 version 18.3 | >= 18.3.0, < 18.3.0 | 18.3.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Microsoft visual studio 2022 | < 17.14.26 | 17.14.26 |
| Microsoft visual studio 2026 | < 18.3.0 | 18.3.0 |
| Microsoft Visual Studio 2022 version 17.14 | >= 17.14.0, < 17.14.26 | 17.14.26 |
| Microsoft Visual Studio 2026 version 18.3 | >= 18.3.0, < 18.3.0 | 18.3.0 |
| Microsoft visual studio 2022 | >= 17.14.0, < 17.14.26 | 17.14.26 |
References
- MSRC Security Update Guide patch vendor-advisory
- Release Notes vendor-advisory
- Release Notes vendor-advisory
- ENISA EUVD EUVD-2026-7327 third-party-advisory