CVE-2026-50510
HighCVSS 7.8Exploitation Probability (EPSS)
Low risk23th percentile - higher than 23% of all known CVEs
Summary
Improper restriction of names for files and other resources in GitHub Copilot allows an unauthorized attacker to execute code locally.
Risk Assessment
An attacker can execute malicious code on the developer's machine, risking data theft or control takeover.
Recommendation
Update GitHub Copilot to the latest version and enforce file name restriction policies.
Other vulnerabilities in GitHub Copilot
See all- CVE-2026-70335High
An OS command injection vulnerability in GitHub Copilot and Visual Studio Code allows an unauthorized attacker to elevate privileges locally.
- CVE-2026-47282Medium
Insufficiently protected credentials in GitHub Copilot and Visual Studio Code allow an unauthorized attacker to disclose information over a network.
- CVE-2025-66389High
A vulnerability in GitHub Copilot 1.372.0 allows filesystem access outside the workspace folder without user approval via a file-handler URI parameter in fetch_webpage. This could lead to data exfiltration if combined with indirect prompt injection.
- CVE-2026-50519Medium
The vulnerability in GitHub Copilot and Visual Studio Code is caused by initializing a resource with an insecure default, allowing an unauthorized attacker to disclose information over a network.
- CVE-2026-45482High
A path traversal vulnerability in GitHub Copilot and Visual Studio Code allows an unauthorized attacker to bypass a security feature locally.
- CVE-2026-41109High
An injection vulnerability in GitHub Copilot and Visual Studio allows an unauthorized attacker to bypass a security feature over the network due to improper neutralization of special elements in output used by a downstream component.
Original NVD description (English source)
Improper restriction of names for files and other resources in Github Copilot allows an unauthorized attacker to execute code locally.

