CVE-2026-21257
Command Injection in GitHub Copilot and Visual Studio Enables Privilege Escalation
Publication date: 2026-02-10
Last updated on: 2026-02-11
Assigner: Microsoft Corporation
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| microsoft | visual_studio_2022 | From 17.14.0 (inc) to 17.14.26 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-77 | The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a command injection issue caused by improper neutralization of special elements used in commands within GitHub Copilot and Visual Studio. It allows an authorized attacker to execute commands in a way that elevates their privileges over a network.
How can this vulnerability impact me? :
The vulnerability can allow an authorized attacker to elevate their privileges, potentially gaining higher-level access than intended. This can lead to unauthorized actions, data compromise, or disruption of services within the affected software environments.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
I don't know
What immediate steps should I take to mitigate this vulnerability?
I don't know