CVE-2026-21256
Command Injection in GitHub Copilot and Visual Studio Enables Remote Code Execution
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. |
| CWE-94 | The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a command injection flaw found in GitHub Copilot and Visual Studio. It occurs due to improper neutralization of special elements used in commands, which allows an unauthorized attacker to execute arbitrary code remotely over a network.
How can this vulnerability impact me? :
The vulnerability can have a severe impact as it allows remote code execution by an unauthorized attacker. This means an attacker could potentially run malicious code on your system, leading to full compromise of confidentiality, integrity, and availability of affected systems.
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