CVE-2026-70335
HighCVSS 7.8Exploitation Probability (EPSS)
Low risk38th percentile - higher than 38% of all known CVEs
Summary
An OS command injection vulnerability in GitHub Copilot and Visual Studio Code allows an unauthorized attacker to elevate privileges locally.
Risk Assessment
An attacker can execute system commands with elevated privileges, potentially leading to full system compromise.
Recommendation
Update GitHub Copilot and Visual Studio Code to the latest versions with security fixes.
Other vulnerabilities in GitHub Copilot
See all- CVE-2026-81380Medium
Command injection vulnerability in GitHub Copilot and Visual Studio Code. An unauthorized attacker can disclose information over a network.
- CVE-2026-50510High
Improper restriction of names for files and other resources in GitHub Copilot allows an unauthorized attacker to execute code 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 neutralization of special elements used in an os command ('os command injection') in GitHub Copilot and Visual Studio Code allows an unauthorized attacker to elevate privileges locally.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

