Feb 2026: GitHub Copilot and Visual Studio Elevation of Privilege Vulnerability
CVE-2026-21257 Published on February 10, 2026
GitHub Copilot and Visual Studio Elevation of Privilege Vulnerability
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.
Weakness Type
What is a Command Injection Vulnerability?
The software 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.
CVE-2026-21257 has been classified to as a Command Injection vulnerability or weakness.
Products Associated with CVE-2026-21257
stack.watch emails you whenever new vulnerabilities are published in Microsoft Visual Studio 2022 or Microsoft Visual Studio 2026. Just hit a watch button to start following.
Affected Versions
Microsoft Visual Studio 2022 version 17.14:- Version 17.14.0 and below 17.14.26 is affected.
- Version 18.3.0 and below 18.3.0 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.