CVE-2026-21256
published high CVSS 3.1 · 8.8GitHub Copilot and Visual Studio Remote Code Execution Vulnerability
Package status and fixes
Description
Improper neutralization of special elements used in a command ('command injection') in GitHub Copilot and Visual Studio allows an unauthorized attacker to execute code 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 2022 version 17.14 | 17.14.0 to < 17.14.26 (affected · custom) | microsoft · cna |
| Microsoft | Microsoft Visual Studio 2026 version 18.3 | 18.3.0 to < 18.3.0 (affected · custom) | microsoft · cna |
Weaknesses
2- CWE-77 CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
- CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection')
References
1- GitHub Copilot and Visual Studio Remote Code Execution Vulnerability https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-21256
Provider assertions
2microsoft · cna
GitHub Copilot and Visual Studio Remote Code Execution Vulnerability
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 768edffa69968d732ef044f4c2d432a33a3607bc4abf42f99a83d6b92a56c0f6
- Ingested
- 30 Nov 2026, 18:39:55 UTC
- Source record
- Official CVE record