What’s Vulnerable › Vulnerabilities

CVE-2026-21518: GitHub Copilot and Visual Studio Code Security Feature Bypass Vulnerability

Description

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

Affected products

How to fix

Upgrade to a fixed version: Microsoft Visual Studio Code 1.109.2; Microsoft Visual Studio Code CoPilot Chat Extension 0.37.1; Microsoft Visual Studio Code 1.110.1. Check the vendor advisory for mitigations.

References

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