CVE-2026-21256
Analyzed Analyzed - Analysis Complete

Command Injection in GitHub Copilot and Visual Studio Enables Remote Code Execution

Vulnerability report for CVE-2026-21256, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-02-10

Last updated on: 2026-02-11

Assigner: Microsoft Corporation

Description

Improper neutralization of special elements used in a command ('command injection') in GitHub Copilot and Visual Studio allows an unauthorized attacker to execute code over a network.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-02-10
Last Modified
2026-02-11
Generated
2026-07-06
AI Q&A
2026-02-10
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
microsoft visual_studio_2022 From 17.14.0 (inc) to 17.14.26 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
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.
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 Quick Actions

Instant insights powered by AI
Executive Summary

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.

Impact Analysis

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.

Compliance Impact

I don't know

Detection Guidance

I don't know

Mitigation Strategies

I don't know

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-21256. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart