CVE-2026-21257: Privilege Escalation via Command Injection in GitHub Copilot
GitHub Copilot, Visual Studio
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
- CVSS
- 8.0
- EPSS
- 0.01 · top 41% · 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-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 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-21257: Privilege Escalation via Command Injection in GitHub Copilot
https://gcdradar.vercel.app/incidents/cve-2026-21257-privilege-escalation-via-command-injection-in · AIR-2026-0959 · 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
- CVE ids: CVE-2026-21257
- CVSS: 8
## Summary
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.
## What to do
No action recorded; read the sources below and the vendor's advisory.
## Latest updates
- 2026-02-10: CVE-2026-21257: Improper neutralization of special elements used in a command ('command injection') in GitHub Copilot and Visual Studio allows an… (https://nvd.nist.gov/vuln/detail/CVE-2026-21257)
## Sources
- 2026-02-10 NVD: CVE-2026-21257: Improper neutralization of special elements used in a command ('command injection') in GitHub Copilot and Visual Studio allows an… https://nvd.nist.gov/vuln/detail/CVE-2026-21257
Verify against the vendor's advisory before changing production. Data CC BY-SA 4.0, https://gcdradar.vercel.app.Related
- closed8.0GitHub Copilot CVE-2026-21523: Race condition in GitHub Copilot and Visual Studio
Patch now · Disclosed · since 10 Feb 2026 · CVE-2026-21523
AI - closed8.8GitHub Copilot CVE-2026-21256: RCE via Command Injection in GitHub Copilot and Visual Studio
Patch now · Disclosed · since 10 Feb 2026 · CVE-2026-21256
AI - closed7.8GitHub Copilot CVE-2025-53773: Command Injection Vulnerability in GitHub Copilot and Visual Studio
Patch now · Disclosed · since 12 Aug 2025 · CVE-2025-53773
AI - closed8.8GitHub Copilot CVE-2026-21516: Remote Code Execution via Command Injection in GitHub Copilot
Patch now · Disclosed · since 10 Feb 2026 · CVE-2026-21516
AI - closed8.8GitHub Copilot CVE-2026-21518: Command Injection Vulnerability in GitHub Copilot and VS Code
Patch now · Disclosed · since 10 Feb 2026 · CVE-2026-21518
AI - closed7.8GitHub Copilot CVE-2026-50510: Code execution vulnerability in GitHub Copilot
Patch now · Disclosed · since 14 Jul 2026 · CVE-2026-50510
AI