CVE-2026-21518: Command Injection Vulnerability in GitHub Copilot and VS Code
GitHub Copilot, Visual Studio Code
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
- CVSS
- 8.8
- EPSS
- 0.01 · top 27% · 2026-11-13
- fix status
- Fix status unknown
- first report
- 10 Feb 2026
- last update
- 10 Feb 2026
- CVE ids
Timeline · 1
Sources · 1
Advisories and databases
- 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 gcdRadar in its own words; data is CC BY-SA 4.0.
Classification
- lane
- Patch now
- AI role
- Attack on AI
- categories
- Infrastructure vulnerability
- severity
- 2 · Disclosed vulnerability
- fix status
- Fix status unknown
- targets
- Microsoft
- owasp llm top 10
- LLM03:2025 Supply Chain
- mitre atlas
- no technique for these categories
- dates
- happened 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.
- record
- confidence 0.95 · created 2026-10-18 10:04Z · updated 2026-10-18 10:04Z
Lane, AI role, categories and severity come from the classifier; the OWASP and ATLAS rows are derived from the categories. How these are assigned
Copy a brief
This record as a short Markdown brief, for a ticket, a chat or a coding agent.
the brief as text
# CVE-2026-21518: Command Injection Vulnerability in GitHub Copilot and VS Code
https://gcdradar.vercel.app/incidents/cve-2026-21518-command-injection-vulnerability-in-github-cop · AIR-2026-0958 · closed 2026-02-10
- Lane: Patch now
- Severity: 2 (Disclosed vulnerability)
- Fix status: Fix status unknown
- First reported: 2026-02-10
- AI role: Attack on AI
- Products: GitHub Copilot, Visual Studio Code
- CVE ids: CVE-2026-21518
- CVSS: 8.8
## Summary
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.
## What to do
No action recorded; read the sources below and the vendor's advisory.
## Latest updates
- 2026-02-10: CVE-2026-21518: Improper neutralization of special elements used in a command ('command injection') in GitHub Copilot and Visual Studio Code… (https://nvd.nist.gov/vuln/detail/CVE-2026-21518)
## Sources
- 2026-02-10 NVD: CVE-2026-21518: Improper neutralization of special elements used in a command ('command injection') in GitHub Copilot and Visual Studio Code… https://nvd.nist.gov/vuln/detail/CVE-2026-21518
Verify against the vendor's advisory before changing production. Data CC BY-SA 4.0, https://gcdradar.vercel.app.Related
- closed6.5GitHub Copilot CVE-2026-47282: Credential disclosure vulnerability in GitHub Copilot
Patch now · Disclosed · since 14 Jul 2026 · CVE-2026-47282
AI - closed6.5GitHub Copilot CVE-2026-50519: Insecure resource default in GitHub Copilot and VS Code allows info disclosure
Patch now · Disclosed · since 19 Jun 2026 · CVE-2026-50519
AI - closed8.4GitHub Copilot CVE-2026-45482: Path Traversal Vulnerability in GitHub Copilot and VS Code
Patch now · Disclosed · since 9 Jun 2026 · CVE-2026-45482
AI - closed5.7GitHub Copilot CVE-2026-23653: Command Injection Flaw in GitHub Copilot and VS Code
Patch now · Disclosed · since 14 Apr 2026 · CVE-2026-23653
AI - closed5.7GitHub Copilot CVE-2025-64660: GitHub Copilot and VS Code Access Control Vulnerability
Patch now · Disclosed · since 20 Nov 2025 · CVE-2025-64660
AI - closed5.0GitHub Copilot CVE-2025-62453: GitHub Copilot and VS Code Generative AI Output Validation Flaw
Patch now · Disclosed · since 11 Nov 2025 · CVE-2025-62453
AI