CVE-2026-21518
published high CVSS 3.1 · 8.8GitHub Copilot and Visual Studio Code Security Feature Bypass Vulnerability
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- microsoft · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
- Scenarios
- en-US: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Microsoft | Microsoft Visual Studio Code CoPilot Chat Extension | 0.27.0 to < 0.37.1 (affected · custom) | microsoft · cna |
| Microsoft | Visual Studio Code | 1.0.0 to < 1.110.1 (affected · custom) | microsoft · cna |
Weaknesses
1- CWE-77 CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
References
1- GitHub Copilot and Visual Studio Code Security Feature Bypass Vulnerability https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-21518
Provider assertions
2microsoft · cna
GitHub Copilot and Visual Studio Code Security Feature Bypass Vulnerability
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 270698500694e888d3cce2013e9c068586fec3f6b4b8a58d1ab7d3e08b16ddf6
- Ingested
- 30 Nov 2026, 18:39:56 UTC
- Source record
- Official CVE record