Skip to main content

Visual Studio Code EUVDEUVD-2026-122260

| CVE-2026-120779 CRITICAL
Code Injection (CWE-94)
2026-11-10 secure@microsoft.com
9.6
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Host malicious workspace or file
  2. Delivery
    Lure developer to open in VS Code
  3. Exploit
    Trigger code injection (CWE-94)
  4. Execution
    Execute code in user context
  5. Impact
    Escape component scope to host resources

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires user interaction: the CVSS vector sets UI:R, so a victim must open or load attacker-controlled content (such as a malicious workspace, file, repository, or similar) in Visual Studio Code - it cannot be triggered against an idle, network-exposed service. No authentication is required of the attacker (PR:N), and attack complexity is low (AC:L), but the available sources do not describe the exact feature, setting, or deployment mode that must be present to trigger the code injection, so the precise configuration prerequisite is not stated in the evidence. The limiting factors defenders should weigh are the mandatory user-interaction step and the affected version window (1.0.0 up to but not including 1.145.3); updating to 1.145.3 removes exposure.

Impact

Signals conflict in a way that matters for prioritization. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H, base 9.6) describes a network-reachable, unauthenticated, low-complexity code-execution flaw with changed scope and total CIA impact - severe on paper. However, the SSVC decision framework reports Exploitation: none and Automatable: no, meaning no observed exploitation and no reliable mass-automation path, while still rating Technical Impact as total. This flaw is NOT in CISA KEV and no public exploit or PoC reference is present in the input, so exploitation status is 'no public exploit identified at time of analysis.' The one hard constraint the CVSS vector itself carries - UI:R (user interaction required) - is the key tempering factor: an attacker cannot trigger this purely remotely; a victim must open attacker-controlled content in VS Code. The vuln.today Decision label is act_now, which given a confirmed vendor patch and total technical impact should be read as 'remediate on priority' rather than 'under active mass exploitation.' No EPSS score was provided, so probabilistic exploitation likelihood cannot be weighed. Net: a genuinely high-severity RCE worth prompt patching, but current evidence points to no in-the-wild activity and a required user-interaction step, so it is a high priority for patch rollout rather than an incident-response emergency.

Exploit ScenarioDerived

An attacker crafts a malicious repository, workspace, file, or extension-related payload and lures a developer into opening it in Visual Studio Code, where improper control of code generation (CWE-94) causes attacker-supplied input to be executed as code. Because the CVSS scope is Changed and impact is total, successful exploitation can run code in the developer's context and affect resources beyond the originally vulnerable component. No public exploit or PoC reference is present in the supplied data; the specific trigger mechanism is not described in the available sources.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.6% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 10, 2026

Visual Studio Code before 1.145.3 contains a code-injection weakness (CWE-94) that can allow an unauthenticated remote attacker to execute code when a victim opens or loads attacker-controlled content such as a malicious workspace, file, or repository. Microsoft has released version 1.145.3 as the vendor patch; the CVSS score is 9.6, the decision label is act-now, and SSVC records total technical impact, while exploitation is marked none and automatable no. No CISA KEV entry or public exploit code was identified at time of analysis, and exploitation depends on the user-interaction step in the CVSS UI:R metric.

RemediationAI

Vendor-released patch: 1.145.3. Update Visual Studio Code installations running 1.0.0 before 1.145.3 to 1.145.3 or later; the evidence states that updating to 1.145.3 removes exposure. Microsoft's update guide is https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-120779. No validated workaround is specified in the available sources, so remediation should center on applying the vendor update.

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 flaw is classified as CWE-94, improper control of generation of code, meaning attacker-influenced input can reach a code-generation path without adequate neutralization. In Visual Studio Code, the affected version range from ENISA EUVD is 1.0.0 up to but not including 1.145.3; no CPE strings were supplied in the available data. The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H describes a network-reachable, low-complexity issue requiring no attacker authentication but requiring victim interaction, with scope change and high confidentiality, integrity, and availability impact. Our assessment confirms that the victim must open or load attacker-controlled content, such as a malicious workspace, file, or repository; it cannot be triggered against an idle, network-exposed service. The available sources do not describe the specific VS Code feature, setting, or deployment mode that must be present for the code injection, so the exact trigger and configuration prerequisite are not stated in the evidence. SSVC records exploitation as none, automatable as no, and technical impact as total.

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

NVD PRIMARY 9.6 CRITICAL
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
ENISA EUVD HIGH
vuln.today AI 9.6 CRITICAL

Network-delivered content requires a victim to open it (UI:R) with no attacker authentication (PR:N); code execution escapes the component (S:C) with total host impact, so C/I/A all High.

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

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
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 nvd
CRITICAL 9.6

DescriptionNVD

Improper control of generation of code ('code injection') in Visual Studio Code allows an unauthorized attacker to execute code over a network.

Executive ViewAI

Why It Matters

A critical code-injection vulnerability in Visual Studio Code (CVE-2026-120779) can enable unauthenticated remote code execution when a user opens attacker-controlled content, affecting developers across the organization. With a CVSS score of 9.6 and total technical impact, leadership should prioritize rapid remediation to prevent potential compromise of development environments and downstream systems.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.6%
Top 49% exploitable
Prevalence
High
Visual Studio Code is among the most widely deployed developer editors
Threat Intel
1
1 sources
Vendor Status
Publicly Disclosed:No
Exploited:No
Latest Software Release:Exploitation Less 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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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