CVE-2026-50510 GitHub Copilot Remote Code Execution Vulnerability
An attacker can execute arbitrary code locally by exploiting improper resource name restrictions in the GitHub Copilot plugin for JetBrains IDEs.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-50510?
CVE-2026-50510 is a high-severity code injection vulnerability in Microsoft GitHub Copilot Plugin for JetBrains IDEs, published on 14 Jul 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Improper restriction of names for files and other resources in Github Copilot allows an unauthorized attacker to execute code locally.
Weakness: CWE-641
Which versions are affected by CVE-2026-50510?
It affects 1 product.
Products include Microsoft Github Copilot.
How do I fix CVE-2026-50510?
No fix has been published for CVE-2026-50510 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-50510 being exploited?
There is no known exploitation of CVE-2026-50510 in the wild and no public exploit code.
Other vulnerabilities in Microsoft GitHub Copilot Plugin for JetBrains IDEs
Sources
Also known as GHSA-hjgg-v5cf-x59v.