Skip to main content

Visual Studio Code EUVDEUVD-2026-122472

| CVE-2026-121662 HIGH
Command Injection (CWE-77)
2026-11-10 secure@microsoft.com
8.6
CVSS 3.1 · Vendor: microsoft
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver malicious repo/workspace to developer
  2. Delivery
    Victim opens project in VS Code
  3. Exploit
    Special elements injected into command
  4. Execution
    Code executes locally
  5. Impact
    Impact 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Visual Studio Code 1.0.0 <1.145.3

Affected Packages

euvd visual_studio_code fix: 1.145.3

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

Vendor (microsoft) PRIMARY 8.6 HIGH
AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
ENISA EUVD HIGH
vuln.today AI 8.6 HIGH

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).

3.1 AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L

Primary rating from Vendor (microsoft).

CVSS VectorVendor: microsoft

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Nov 10, 2026 - 19:50 EUVD
CVE Published
Nov 10, 2026 - 19:20 cve.org
HIGH 8.6

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 55% exploitable
Prevalence
High
one of the most widely deployed developer code editors worldwide
Threat Intel
1
1 sources
Vendor Status
Publicly Disclosed:No
Exploited:No
Latest Software Release:Exploitation More Likely
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +43
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: +5

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy