CVE-2026-21516 GitHub Copilot for Jetbrains Remote Code Execution Vulnerability
An attacker can execute arbitrary code remotely via command injection in the GitHub Copilot plugin for JetBrains IDEs.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-21516?
CVE-2026-21516 is a high-severity command injection vulnerability in Microsoft GitHub Copilot Plugin for JetBrains IDEs, published on 10 Feb 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Improper neutralization of special elements used in a command ('command injection') in Github Copilot allows an unauthorized attacker to execute code over a network.
Weakness: CWE-77
Which versions are affected by CVE-2026-21516?
It affects 1 product.
Products include Microsoft Github Copilot.
How do I fix CVE-2026-21516?
No fix has been published for CVE-2026-21516 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2026-21516 being exploited?
There is no known exploitation of CVE-2026-21516 in the wild and no public exploit code.
Other vulnerabilities in Microsoft GitHub Copilot Plugin for JetBrains IDEs
Sources
Also known as GHSA-mjvv-wfm9-3vm3.