CVE-2026-21257: Privilege Escalation via Command Injection in GitHub Copilot
Attack on AI2 Disclosed vulnerabilityInfrastructure vulnerability
An improper command neutralization flaw in GitHub Copilot and Visual Studio allows an authorized network attacker to elevate privileges. The vulnerability has been addressed by the vendor.
disclosed CVENo confirmed exploitation, so this record is tracked as a disclosed vulnerability and not counted as an incident. It moves into the counts if CISA or the vendor confirms exploitation. Why
Details
- type
- Attack on AIAn AI model, agent or AI-powered product was the thing exploited, abused or leaked.
- categories
- Infrastructure vulnerabilityCVEs and advisories in AI frameworks, inference servers, MCP servers, AI developer tools and hosting stacks.
- Infrastructure vulnerability
- owasp llm top 10
- mitre atlas
- no technique for these categoriesBoth rows are derived from the type and categories (OWASP 2025 edition, ATLAS release 2026.09), not classified per record. How
- severity
- 2 · Disclosed vulnerabilityCVE or vendor advisory, patched or patchable, no confirmed exploitation.
- targets
- Microsoft
- products
- GitHub Copilot, Visual Studio
- incident date
- 10 Feb 2026
- first reported
- 10 Feb 2026
- origin
- NVDVulnerability record from NVD / the GitHub Advisory Database. This product uses the NVD API but is not endorsed or certified by the NVD.
- classifier confidence
- 0.95 · published at or above 0.80; see the methodology
- tags
- CVE-2026-21257 · github-copilot · privilege-escalation
- record
- created 2026-10-18 10:04Z · updated 2026-10-18 10:04Z · json
Sources · 1
- 2026-02-10CVE-2026-21257: Improper neutralization of special elements used in a command ('command injection') in GitHub Copilot and Visual Studio allows an…NVD · nvd.nist.gov/vuln/detail/CVE-2026-21257
Titles and links belong to their publishers. The summary above is written by GCD AI RADAR in its own words; data is CC BY-SA 4.0.
Related incidents
- 2026-02-10CVE-2026-21523: Race condition in GitHub Copilot and Visual Studio2 Disclosedon AIInfra vuln1 src
- 2026-02-10CVE-2026-21256: RCE via Command Injection in GitHub Copilot and Visual Studio2 Disclosedon AIInfra vuln1 src
- 2025-08-12CVE-2025-53773: Command Injection Vulnerability in GitHub Copilot and Visual Studio2 Disclosedon AIInfra vuln1 src
- 2026-02-10CVE-2026-21516: Remote Code Execution via Command Injection in GitHub Copilot2 Disclosedon AIInfra vuln1 src
- 2026-02-10CVE-2026-21518: Command Injection Vulnerability in GitHub Copilot and VS Code2 Disclosedon AIInfra vuln1 src
- 2026-07-14CVE-2026-50510: Code execution vulnerability in GitHub Copilot2 Disclosedon AIInfra vuln1 src