Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker prepares malicious content with injected shell metacharacters
-
DeliveryDeveloper opens or processes content in VS Code or GitHub Copilot
-
ExploitUnsanitized input passed to OS command or shell handler
-
ExecutionInjected command executes within VS Code process context
-
ImpactSensitive data (credentials, env vars, source) exfiltrated over network to attacker endpoint
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the targeted developer interacts with attacker-controlled content inside VS Code or through GitHub Copilot (UI:R mandatory) - for example, opening a malicious repository, processing a crafted file, or acting on an AI-completion result derived from attacker-supplied input. The high attack complexity (AC:H) indicates additional preconditions beyond network reach, though the CVE description does not explicitly enumerate them; this may include a specific VS Code configuration, a particular extension state, or operating system context. PR:N means no prior authentication or account access is required of the attacker. The vulnerability affects only Visual Studio Code versions below 1.136.2; installations at or above this version are not at risk. The outcome is limited to confidentiality - integrity and availability of the system are not impacted. |
| Impact | The CVSS 5.3 Medium score reflects genuine, concrete exploitation barriers: high attack complexity (AC:H) and mandatory user interaction (UI:R) together substantially suppress both opportunistic and automated exploitation. No EPSS score was provided in the available data, but the AC:H/UI:R profile makes mass exploitation implausible without a specific delivery mechanism targeting developer workflows. The vulnerability is not listed in CISA KEV and no public proof-of-concept code is known, indicating this remains a theoretical-to-low-activity risk at the time of analysis. Despite the medium score, the C:H confidentiality impact is meaningful: developers routinely handle credentials, API keys, and proprietary source code within their VS Code environment, making even a difficult-to-exploit information-disclosure flaw worth prioritizing for patching. The absence of integrity and availability impact (I:N/A:N) bounds the worst-case outcome to data exfiltration rather than system compromise. Vendor patch availability in version 1.136.2 makes remediation straightforward with no meaningful side effects. |
| Exploit ScenarioDerived | An attacker hosts or contributes malicious content - such as a specially crafted repository file, Copilot prompt response artifact, or extension input - containing injected shell metacharacters. When a targeted developer opens or processes this content in VS Code or via Copilot (satisfying UI:R), the unsanitized input is passed to an OS command handler, causing the injected command to execute and transmit sensitive data - such as environment variables, local API keys, or source code fragments - to an attacker-controlled network endpoint. No public exploit code exists at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 08, 2026
Command injection (CWE-77) in Visual Studio Code versions prior to 1.136.2 and GitHub Copilot enables a network-based attacker without authentication to trigger disclosure of sensitive information when a targeted developer interacts with specially crafted content. The attack requires high complexity (AC:H) and user interaction (UI:R), yielding a CVSS 5.3 Medium score that reflects real exploitation barriers. No public exploit code and no CISA KEV listing have been identified at time of analysis.
RemediationAI
Upgrade Visual Studio Code to version 1.136.2 or later, which contains the vendor-released patch per the MSRC advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-81380. GitHub Copilot users should update to the latest available extension release; a specific fixed version for Copilot is not confirmed in the available intelligence, so monitoring the MSRC advisory for Copilot-specific guidance is recommended. As a compensating control for environments where immediate patching is not feasible, temporarily disabling the GitHub Copilot extension and restricting VS Code's ability to execute subprocesses or fetch external content reduces the attack surface; however, this disables core functionality and is appropriate only as a short-term measure.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-77 (Improper Neutralization of Special Elements used in a Command) describes a root cause where attacker-controlled data is incorporated into a command - shell, OS, or interpreter - without adequate sanitization or escaping. In the context of Visual Studio Code, this may manifest when AI-generated content, repository files, or extension-processed input is passed to a subprocess or shell handler without proper quoting. The affected product is confirmed as Visual Studio Code versions 1.0.0 through less than 1.136.2 per EUVD-2026-73336 data. GitHub Copilot, an AI code-completion extension tightly integrated with VS Code, is also listed as affected, though its specific affected version range is not confirmed in the available intelligence. Both products are developed by Microsoft and reported via secure@microsoft.com. The network attack vector (AV:N) indicates the injected content can originate from a remote source - plausibly a crafted repository, a network-fetched resource, or AI-completion responses.
Know when Visual Studio Code gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Network delivery via crafted content requires active developer interaction; AC:H reflects unspecified preconditions; impact is confidentiality-only per description.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionNVD
Improper neutralization of special elements used in a command ('command injection') in GitHub Copilot and Visual Studio Code allows an unauthorized attacker to disclose information over a network.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Visual Studio Code
View allVisual Studio Code Remote Code Execution Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is no authent
Visual Studio Code Remote Code Execution Vulnerability. Rated high severity (CVSS 8.8), this vulnerability is remotely e
Security-feature bypass in Microsoft Visual Studio Code before 1.136.2 lets a remote, unauthenticated attacker defeat a
Remote code execution in Visual Studio Code (versions 1.0.0 up to but not including 1.141.1) is achievable through a pat
Privilege escalation in Microsoft Visual Studio Code allows remote unauthenticated attackers to elevate privileges over
Visual Studio Code Remote Code Execution Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is no authent
Security feature bypass in Visual Studio Code before 1.145.3 allows an unauthenticated remote attacker to evade a securi
Cross-site scripting in Visual Studio Code before 1.145.3 can let unauthenticated, network-reachable attackers run attac
Security-feature bypass in Microsoft Visual Studio Code lets a remote attacker deliver functionality from an untrusted c
Remote code execution in Visual Studio Code (versions 1.0.0 through 1.132.0) is enabled by a missing authorization check
Command injection in Visual Studio Code 1.0.0 through 1.141.0 allows an unauthenticated remote attacker to execute arbit
Remote code execution in Microsoft Visual Studio Code allows a network-based attacker to inject and execute arbitrary co
EUVD-2026-73336
GHSA-r64m-65x5-h3wx
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB