CVE-2026-70335
Analyzed Analyzed - Analysis Complete

Improper OS Command Injection in GitHub Copilot for VS Code

Vulnerability report for CVE-2026-70335, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-11

Last updated on: 2026-08-28

Assigner: Microsoft Corporation

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-11
Last Modified
2026-08-28
Generated
2026-09-01
AI Q&A
2026-08-12
EPSS Evaluated
2026-08-30
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
microsoft visual_studio_code to 1.132.1 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-78 The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is an OS command injection flaw in GitHub Copilot and Visual Studio Code. It allows an unauthorized attacker to execute arbitrary commands on the system by injecting malicious input, potentially leading to privilege escalation.

Detection Guidance

Detecting this vulnerability requires checking for signs of unauthorized privilege elevation attempts in GitHub Copilot and Visual Studio Code. Monitor system logs for suspicious command execution patterns, especially those involving OS command injection. Review network traffic for unusual outbound connections from these applications. Ensure both tools are updated to the latest patched versions to prevent exploitation.

Impact Analysis

An attacker could exploit this to gain higher privileges on your system, allowing them to access sensitive data, install malware, or perform unauthorized actions. Local access is required for exploitation.

Compliance Impact

This vulnerability could lead to unauthorized privilege escalation, potentially allowing attackers to access sensitive data or systems. For GDPR, this may result in unauthorized data processing or breaches, requiring notification under Article 33. For HIPAA, it could enable unauthorized access to protected health information, violating the Security Rule.

Mitigation Strategies

Update GitHub Copilot and Visual Studio Code to the latest patched versions immediately to address the OS command injection vulnerability.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-70335. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart