Command Injection Vulnerability in GitHub Copilot and Visual Studio
CVE-2026-21257
8HIGH
Key Information:
- Vendor
Microsoft
- Vendor
- CVE Published:
- 10 February 2026
What is CVE-2026-21257?
A command injection vulnerability exists in GitHub Copilot and Visual Studio, allowing authorized attackers to execute commands that may lead to privilege escalation over a network. This flaw arises from improper handling of special elements in commands, potentially enabling malicious users to gain unauthorized access and control within the affected environments.
Affected Version(s)
Microsoft Visual Studio 2022 version 17.14 17.14.0 < 17.14.26
Microsoft Visual Studio 2026 version 18.3 18.3.0