Command Injection Vulnerability in GitHub Copilot and Visual Studio
CVE-2026-21257

8HIGH

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

References

CVSS V3.1

Score:
8
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
Required
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.