What’s Vulnerable › Vulnerabilities

CVE-2026-21257: GitHub Copilot and Visual Studio Elevation of Privilege Vulnerability

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.

Affected products

How to fix

Upgrade to a fixed version: Microsoft Visual Studio 2022 version 17.14 17.14.26; Microsoft Visual Studio 2026 version 18.3 18.3.0; Microsoft Visual Studio 2022 version 17.14 17.14.26. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-21257 or the next vulnerability affects your stack