Skip to main content

Visual Studio Code EUVDEUVD-2026-122231

| CVE-2026-120782 HIGH
Code Injection (CWE-94)
2026-11-10 secure@microsoft.com
7.8
CVSS 3.1 · Vendor: microsoft
View

Attack ChainAIDerived

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

  1. Access
    Deliver crafted workspace or file
  2. Delivery
    Victim opens project in VS Code
  3. Exploit
    Trigger code injection, bypass security feature
  4. Execution
    Execute code in user context
  5. Impact
    Full compromise of developer host

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 local access to the attack surface (AV:L) and user interaction (UI:R): a user running an affected Visual Studio Code build (1.0.0 up to but not including 1.145.3) must open or act upon attacker-supplied content, such as a crafted workspace or file, which triggers the code injection and bypasses an editor security feature. PR:N means no prior authentication or privilege on the target is needed by the attacker, but the required user interaction and local vector are the principal limiting factors - the victim cannot be compromised by an unsolicited remote request and must be induced to open the malicious content. The specific product feature, setting, or file type that triggers the bypass is not described in the available sources. Upgrading to Visual Studio Code 1.145.3 or later removes the affected versions.

Impact

Signals are moderately consistent but incomplete. The CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, 7.8 HIGH) describes a local, low-complexity flaw that requires no privileges but does require user interaction, yielding full confidentiality, integrity and availability impact on the affected host - consistent with the CWE-94 code-injection/'bypass a security feature locally' framing. The vendor (Microsoft, secure@microsoft.com) has shipped a patch and the vuln.today priority is 'this_week' rather than act_now/emergency. No EPSS score, no CISA KEV listing, and no PoC reference are present in the input, so there is no public exploitation signal to corroborate or contradict the CVSS severity - this is a high-CVSS issue whose real-world exploitation likelihood is currently unquantified. The combination AV:L + UI:R means an attacker cannot reach this purely remotely: a local vector plus required user interaction implies a victim must open or act on attacker-supplied content (e.g. a crafted workspace/file) on a machine the attacker can already influence. Net: a genuine high-severity patch-this-week item for developer endpoints, but the absence of EPSS/KEV/PoC data means urgency should track the vendor's 'this_week' label, not emergency escalation.

Exploit ScenarioDerived

An attacker crafts a malicious VS Code workspace, project folder, or file that abuses the code-injection weakness to bypass an editor security feature; when a developer opens it locally and performs the triggering interaction, attacker-controlled code executes in the user's context. No public exploit code or PoC reference is present in the provided data. The local attack vector plus required user interaction means the victim must be induced to open the crafted content rather than being hit by a purely remote request.

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

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

Alert me

AnalysisAIv1 – Nov 10, 2026

Code injection (CWE-94) in Visual Studio Code builds from 1.0.0 up to but not including 1.145.3 allows an attacker to bypass an editor security feature and execute code in the context of the running editor. Exploitation is local (AV:L) and requires user interaction (UI:R): the victim must open or act on attacker-supplied content, and no prior authentication or privilege is needed (PR:N), so the user interaction and local vector are the principal limiting factors. Microsoft has released a vendor patch in 1.145.3; no public exploit code has been identified and there is no CISA KEV confirmation of active exploitation at time of analysis.

RemediationAI

Vendor-released patch: upgrade Visual Studio Code to version 1.145.3 or later, which is outside the affected range (1.0.0 <1.145.3); the fix and any vendor notes are documented in the Microsoft Security Update Guide at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-120782. Patch availability is confirmed from the vendor, and the priority decision signal for this CVE is this_week rather than emergency. The available sources do not describe any workaround, configuration change, or feature that can be disabled to mitigate the issue while remaining on an affected build, so no specific compensating control can be recommended from the evidence; until the update is applied, exposure is limited by the requirement that a user open or act upon attacker-supplied content locally.

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 the generation of code, which in an extensible editor such as Visual Studio Code means crafted input can cause code to be generated and run rather than being safely constrained. The assessed vector is CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - local attack surface, no privileges required, mandatory user interaction, unchanged scope, and high confidentiality, integrity and availability impact - placing it at 7.8. The specific product feature, setting, or file type that is abused to bypass the security feature, and the precise mechanism by which code generation is subverted, are not described in the available sources. Affected builds are enumerated by the EUVD entry as Visual Studio Code 1.0.0 through versions prior to 1.145.3; no CPE strings were supplied with the intelligence, so the exact edition/channel mapping beyond that version range is unverified.

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 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
ENISA EUVD HIGH
vuln.today AI 7.8 HIGH

Local vector and required user interaction per the 'locally' description and need to open crafted content; no prior privilege (PR:N), with code execution giving full C/I/A impact.

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

Primary rating from Vendor (microsoft).

CVSS VectorVendor: microsoft

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
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
HIGH 7.8

DescriptionCVE.org

Improper control of generation of code ('code injection') in Visual Studio Code allows an unauthorized attacker to bypass a security feature locally.

Executive ViewAI

Why It Matters

A high-severity code injection vulnerability (CVE-2026-120782) affects Microsoft Visual Studio Code versions prior to 1.145.3, enabling attackers to bypass editor security features and execute code with the privileges of the running editor when a user opens malicious content. Development teams and any employees using VS Code are at risk, as successful exploitation could lead to unauthorized code execution, data compromise, or further network intrusion, though local user interaction reduces the attack surface.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 71% exploitable
Prevalence
High
Visual Studio Code is one of 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 HIGH
CISA KEV No
Public POC No
EPSS 0.3%
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

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
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