CVE-2026-21518: Command Injection Vulnerability in GitHub Copilot and VS Code
Attack on AI2 Disclosed vulnerabilityInfrastructure vulnerability
An improper neutralization of special elements in GitHub Copilot and Visual Studio Code permits an unauthorized attacker to bypass security features over a network. A patch addresses the command injection risk.
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 Code
- 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-21518 · github-copilot · command-injection
- record
- created 2026-10-18 10:04Z · updated 2026-10-18 10:04Z · json
Sources · 1
- 2026-02-10CVE-2026-21518: Improper neutralization of special elements used in a command ('command injection') in GitHub Copilot and Visual Studio Code…NVD · nvd.nist.gov/vuln/detail/CVE-2026-21518
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-07-14CVE-2026-47282: Credential disclosure vulnerability in GitHub Copilot2 Disclosedon AIInfra vuln1 src
- 2026-06-19CVE-2026-50519: Insecure resource default in GitHub Copilot and VS Code allows info disclosure2 Disclosedon AIInfra vuln1 src
- 2026-06-09CVE-2026-45482: Path Traversal Vulnerability in GitHub Copilot and VS Code2 Disclosedon AIInfra vuln1 src
- 2026-04-14CVE-2026-23653: Command Injection Flaw in GitHub Copilot and VS Code2 Disclosedon AIInfra vuln1 src
- 2025-11-20CVE-2025-64660: GitHub Copilot and VS Code Access Control Vulnerability2 Disclosedon AIInfra vuln1 src
- 2025-11-11CVE-2025-62453: GitHub Copilot and VS Code Generative AI Output Validation Flaw2 Disclosedon AIInfra vuln1 src