CVE-2026-21257
Analyzed Analyzed - Analysis Complete

Command Injection in GitHub Copilot and Visual Studio Enables Privilege Escalation

Vulnerability report for CVE-2026-21257, 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 authorized attacker to elevate privileges 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-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 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.

Impact Analysis

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.

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-21257. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart