What’s Vulnerable › Vulnerabilities
CVE-2026-21518: GitHub Copilot and Visual Studio Code Security Feature Bypass Vulnerability
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-02-10 · updated 2026-08-19
- Weakness: CWE-77
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
- Microsoft Visual Studio Code: before 1.109.2 — fixed in 1.109.2
- Microsoft Visual Studio Code CoPilot Chat Extension: from 0.27.0 before 0.37.1 — fixed in 0.37.1
- Microsoft Visual Studio Code: from 1.0.0 before 1.110.1 — fixed in 1.110.1
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