CVE-2026-50510

GitHub Copilot Remote Code Execution Vulnerability

Published Jul 14, 2026 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
Improper restriction of names for files and other resources in Github Copilot allows an unauthorized attacker to execute code locally.

Analysis

AI-generated

Technical impact

Improper restriction of names for files and other resources in the GitHub Copilot Plugin for JetBrains IDEs allows an attacker that can influence which resource names the plugin processes to execute arbitrary code on the local machine. The flaw effectively treats user‑controlled names as executable paths, granting the attacker ability to launch binaries with the privileges of the JetBrains IDE session. This results in a local code‑execution risk as described by CWE‑641, because the plugin fails to properly validate or sanitize resource identifiers before use.

Affected Systems

The vulnerability affects the Microsoft GitHub Copilot Plugin for JetBrains IDEs. All installations of the plugin are potentially susceptible until an update is applied. No specific version range is listed in the advisory, so any current installation should be assumed vulnerable.

Risk and Exploitability

The CVSS score of 7.8 places the flaw in the High severity range. The EPSS score is reported as less than 1%, indicating a very low probability of exploitation at the time of this analysis, and the vulnerability is not cataloged in the CISA KEV list. Based on the description, it is inferred that the attack vector requires local access to the JetBrains IDE where the plugin is installed; thus an attacker must already have a foothold on the machine or be able to coerce the user into triggering the plugin with crafted names. No network‑based exploitation is described, so the risk is confined to environments where the plugin is installed and used.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest update issued by Microsoft that fixes the file name validation bug in the GitHub Copilot Plugin for JetBrains IDEs, addressing the vulnerability exposed by CWE‑641.
  • If an update is not immediately available, configure or disable the plugin’s ability to create or execute files with user‑defined names; alternatively, enforce stricter IDE security settings to sandbox the plugin’s file‑system access, thereby mitigating the CWE‑641 risk.
  • Monitor the IDE process for unexpected file creation or executable launch events and review system logs for anomalous activity that could indicate exploitation of this local code execution flaw.

Generated by OpenCVE AI on August 1, 2026 at 09:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Improper restriction of names for files and other resources in Github Copilot allows an unauthorized attacker to execute code locally.
Title GitHub Copilot Remote Code Execution Vulnerability
First Time appeared Microsoft
Microsoft gihub Copilot Plugin For Jetbrains Ides
Weaknesses CWE-641
CPEs cpe:2.3:a:microsoft:gihub_copilot_plugin_for_jetbrains_ides:*:*:*:*:*:*:*:*
Vendors & Products Microsoft
Microsoft gihub Copilot Plugin For Jetbrains Ides
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C'}

Weaknesses
  • CWE-641

    Improper Restriction of Names for Files and Other Resources

Sources

Status
PUBLISHED
Assigner
microsoft
Published
Updated
Nov 19, 2026, 10:18 PM
Reserved
Jun 4, 2026, 7:00 PM
Status
Analyzed
Published
Jul 14, 2026, 6:17 PM
Modified
Oct 24, 2026, 9:10 PM