Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver malicious workspace/repo to developer
-
DeliveryVictim opens project in VS Code
-
ExploitSpecial elements bypass command neutralization
-
ExecutionInjected command executes
-
ImpactCode runs as the user
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 the victim to open attacker-controlled content in Visual Studio Code - realistically a malicious workspace, folder, repository, or project/config file whose special elements are improperly neutralized and injected into a command (CWE-77). The required user interaction (UI:R) is the primary limiting factor: the attack is not a server-side drive-by and depends on social engineering to get a developer to open the crafted project. No authentication is needed on the target (PR:N), and attack complexity is low (AC:L). Remediation limit: the flaw is fixed in Visual Studio Code 1.141.1 and later, so unpatched versions in the 1.0.0-1.141.0 range are exposed. The exact feature or file type that triggers neutralization failure is not specified in the available data. |
| Impact | This is a genuine high-priority issue, not an inflated high-CVSS score. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, base 8.8) indicates a network-reachable, low-complexity, unauthenticated command-injection flaw (CWE-77) yielding full confidentiality, integrity, and availability impact - i.e., arbitrary code execution. The one meaningful brake is UI:R: a user must perform some action (realistically, opening a malicious workspace, folder, repository, or file in VS Code), so exploitation is not fully autonomous drive-by. Key exploitation signals are MISSING and should not be inferred: there is no EPSS score, no CISA KEV listing, and no POC indicator in the provided data, so exploitation status is 'no public exploit identified at time of analysis.' This means urgency rests on the intrinsic severity and VS Code's massive developer install base rather than on confirmed in-the-wild activity. A patch is available from Microsoft, which both raises urgency (details may enable reverse-engineering) and provides immediate remediation. No signals conflict with each other here; the main caveat is simply that real-world exploitation telemetry (EPSS/KEV/POC) is absent, so prioritize based on exposure and patch quickly rather than on evidence of active attacks. |
| Exploit ScenarioDerived | An attacker crafts a malicious repository, workspace, or project file containing specially formed elements that VS Code improperly neutralizes, then lures a developer into cloning and opening it. When the victim opens the project, the injected command executes in the context of the user's machine, giving the attacker code execution on the developer endpoint. No public POC is indicated in the available data, but the low attack complexity makes weaponization straightforward once details are known. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 14, 2026
Command injection in Visual Studio Code 1.0.0 through 1.141.0 allows an unauthenticated remote attacker to execute arbitrary code in the context of the editor when a developer opens attacker-controlled content such as a malicious workspace, folder, repository, or project configuration file. Exploitation depends on user interaction (a victim must open the crafted project), but is otherwise low-complexity with high confidentiality, integrity, and availability impact; no public exploit code has been identified at the time of analysis. Microsoft has released a vendor fix in Visual Studio Code 1.141.1.
RemediationAI
Vendor-released patch: upgrade to Visual Studio Code 1.141.1 or later; because VS Code auto-updates by default, confirm the installed build via Help > About and force an update check if the client is pinned or offline. Microsoft's guidance is in the MSRC advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-69370 (mirrored at https://nvd.nist.gov/vuln/detail/CVE-2026-69370). Until patched, the most effective compensating control is to keep VS Code's Workspace Trust in Restricted Mode and never grant trust to repositories, folders, or workspace files from untrusted sources; Restricted Mode blocks automatic task execution, debugging, and most extension activation, which is exactly the surface this command-injection path relies on, at the cost of disabling language tooling and build/debug features for that project. Additional steps for environments that cannot patch immediately: open untrusted code in a disposable VM or container with no developer credentials, tokens, or network reachability to internal services; review newly cloned repositories for unexpected task definitions or workspace configuration files before opening them; and disable or uninstall extensions that are not required so that any extension-driven command path is not available to the crafted content. Each of these reduces functionality or developer convenience, so treat them as temporary mitigations until 1.141.1 is deployed.
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
The root cause is CWE-77 (Improper Neutralization of Special Elements used in a Command, i.e., command injection): special elements from attacker-influenced content are not properly escaped before being incorporated into a command executed by the editor. Visual Studio Code builds and runs external commands for a range of workspace-driven features - task definitions, build/debug configurations, workspace and folder settings, and extension-provided tooling - so a crafted workspace, repository, or configuration file can smuggle shell metacharacters into a command line that the editor then executes. The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H indicates the malicious content can reach the target over a network (for example, a cloned repository or downloaded workspace) with no authentication and low attack complexity, but the attacker cannot complete the attack without the victim opening the content (UI:R); impact is scoped to the user's session with high confidentiality, integrity, and availability loss. The description and assessment do not identify the specific feature or file type whose neutralization fails, and no CPE data was supplied with this report. Tracking identifiers: EUVD-2026-99068, CWE-77, tag 'Command Injection', reported by secure@microsoft.com.
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:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Network-delivered malicious project with no attacker auth (PR:N) but required victim action to open it (UI:R); command injection yields full code execution, so C/I/A all High.
Primary rating from Vendor (microsoft).
CVSS VectorVendor: microsoft
Lifecycle Timeline
2DescriptionCVE.org
Improper neutralization of special elements used in a command ('command injection') in Visual Studio Code allows an unauthorized attacker to execute code over a network.
Executive ViewAI
A high-severity command injection flaw affects Microsoft Visual Studio Code across essentially every version in use today, meaning the organization's entire developer workstation fleet is potentially exposed until upgraded. An attacker can gain code execution with the developer's own privileges simply by getting a developer to open a crafted project, workspace, or repository file - no credentials are required, and a single successful lure could compromise source code, build credentials, and production access.
Apply vendor patch.
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.
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 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
Remote code execution in Microsoft Visual Studio Code allows a network-based attacker to inject and execute arbitrary co
Remote code execution in Visual Studio Code versions 1.0.0 through 1.141.1 allows an unauthenticated, network-positioned
Authorization bypass in Visual Studio Code versions 1.0.0 through 1.136.1 allows an unauthenticated network attacker to
OS command injection in Visual Studio Code exposes victims to remote code execution when they interact with attacker-con
EUVD-2026-99068
GHSA-6m24-vgvg-r722
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB