Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDeliver malicious repo/workspace to developer
-
DeliveryVictim opens project in VS Code
-
ExploitSpecial elements injected into command
-
ExecutionCode executes locally
-
ImpactImpact crosses security scope
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 local delivery and user interaction: per AV:L/UI:R, the victim must open or interact with attacker-supplied content (a repository, workspace, folder, or project configuration) in Visual Studio Code - it is not remotely triggerable without that action. PR:N means no prior authentication or privileges on the target are needed beyond persuading the user to open the content. The scope change (S:C) indicates impact can extend past the initially affected component. Limiting factors for defenders: the dependence on social engineering to get a developer to open malicious content, the local attack vector (no network-facing exposure), and the fact that versions at or above 1.145.3 are fixed. The specific feature, command, or configuration that is injected is not described in the available sources, so the exact trigger cannot be confirmed from this data. |
| Impact | This is a CWE-77 command injection in Visual Studio Code (vuln.today priority 'this_week', not act_now/emergency). The supplied CVSS vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H yields 8.6 (High), and its individual metrics are internally consistent and credible for this product class: a local vector (AV:L) with required user interaction (UI:R) and a scope change (S:C) fits the classic VS Code pattern where a developer opens attacker-supplied content and code executes outside the original security context. The strongest single signal here is the scope change plus full C/I/A impact, which drives the high score. Countervailing signals reduce real-world urgency: no CISA KEV listing (not confirmed actively exploited), no EPSS probability supplied, and no PoC/exploit reference in the input (no public exploit identified at time of analysis). The headline '8.6 High' is therefore largely a function of the scope change and impact triad rather than easy remote mass-exploitation - AV:L and UI:R mean an attacker cannot reach a victim over the network without luring them into an action. Net: a genuinely serious bug worth patching on a normal priority cycle given VS Code's enormous install base, but not an emergency absent evidence of exploitation. Missing data to note: no EPSS, no SSVC automatable/technical-impact breakdown, and no description of the actual injection trigger. |
| Exploit ScenarioDerived | An attacker crafts a malicious repository, workspace, folder, or project file and lures a developer into opening it in Visual Studio Code; the required user interaction (UI:R) is the victim opening or trusting that attacker-supplied content. Because the flaw improperly neutralizes special elements used in a command, the action causes code to execute locally on the developer's machine, and the scope change (S:C) lets impact extend beyond the originally exploited component. No public exploit code is identified in the available sources, and the precise injection trigger is not described. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 10, 2026
Command injection in Visual Studio Code before 1.145.3 allows an attacker to execute arbitrary code locally when a user opens crafted content such as a malicious workspace, folder, or project configuration. The flaw is rated CVSS 8.6 (AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H); no prior authentication is needed, but the victim must interact with attacker-supplied content, so it is not remotely triggerable without that action. No public exploit was identified at time of analysis, and the vendor has released a patch in version 1.145.3.
RemediationAI
Vendor-released patch: update Visual Studio Code to 1.145.3 or later; Microsoft's update guide is https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-121662. The vendor lists patch availability, and versions at or above 1.145.3 are fixed per the EUVD affected range. Until the update is applied, the exposure is gated by the requirement that a user open attacker-supplied content, so avoiding untrusted workspaces, folders, and project configurations reduces the attack surface - at the cost of restricting normal developer workflows on untrusted repositories. No other vendor-stated workaround is provided in the available data.
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 issue is CWE-77 command injection - improper neutralization of special elements used in a command - in Visual Studio Code, Microsoft's Electron-based source code editor. The assessed vector is local (AV:L) with user interaction (UI:R) and no privileges required (PR:N); the scope change (S:C) indicates impact can extend beyond the initially affected component. Affected versions per EUVD are 1.0.0 through before 1.145.3. The exact VS Code feature, command, or configuration element that is injected is not described in the available sources, so the precise trigger cannot be confirmed from this data; the exploitation precondition confirmed by the assessment is that a victim opens or interacts with attacker-supplied repository, workspace, folder, or project configuration content.
Know when the next one hits your stack
- 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:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Local command injection triggered when a user opens attacker-supplied content (AV:L/UI:R/PR:N), with a scope change and full code-execution impact (S:C, C:H/I:H/A:H).
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 locally.
Executive ViewAI
Visual Studio Code versions before 1.145.3 contain a command injection vulnerability that allows an attacker to execute arbitrary code on a developer's machine when they open a crafted workspace or configuration file. This puts development teams at risk of unauthorized code execution, potentially leading to data breaches or further compromise within the organization. Leadership should prioritize patching given the high severity and the widespread use of VS Code among technical staff.
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.
EUVD-2026-122472
NVD
CVE.org
EPSS
Vulnrichment
GitHub PoC
Exploit-DB