Skip to main content

Visual Studio Code EUVDEUVD-2026-73074

| CVE-2026-70334 HIGH
Incomplete List of Disallowed Inputs (CWE-184)
2026-09-08 secure@microsoft.com GHSA-cg7w-jg25-g64g
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/repository to target developer
  2. Delivery
    Developer opens project in Visual Studio Code < 1.136.2
  3. Exploit
    Malicious input not present in incomplete blocklist
  4. Execution
    Security feature (Workspace Trust / restricted mode) bypassed
  5. Persist
    Attacker-controlled code executes in VSCode process context
  6. Impact
    Full confidentiality, integrity, and availability compromise of developer environment

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation completeness
Exploitation Conditions

Exploitation requires the target user to open a malicious workspace, project folder, or file in an affected version of Visual Studio Code (< 1.136.2) - reflecting the CVSS UI:R requirement. The attack is bounded to local or file-system scope (AV:L); this most practically means delivering a crafted repository to the developer via email, code-hosting platform, or shared network path and relying on the developer to open it in VSCode. No authentication or elevated privileges are required (PR:N) - any standard user account running VSCode is sufficient. The security feature being bypassed is not externally reachable without the user opening the crafted content, which limits mass-exploitation scenarios. Non-developer or non-VSCode environments are not affected.

Impact

The CVSS 3.1 base score of 7.8 with a local vector (AV:L/AC:L/PR:N/UI:R) reflects moderate real-world reach: exploitation is bounded by local file-system access or, more practically, the social engineering step of convincing a developer to open a crafted project. No public exploit code has been identified and the vulnerability is not listed in the CISA KEV catalog, which lowers immediate urgency relative to the raw score. EPSS data was not supplied; however, VSCode's massive developer install base and the prevalence of repository-cloning workflows mean that even a modest exploitation rate translates to a sizeable population at risk. Any team that routinely opens external or third-party codebases - including a mid-sized development shop - should treat patching to 1.136.2 as a high-priority maintenance item rather than a deferred task, since the attack surface is intrinsic to normal developer workflows.

Exploit ScenarioDerived

An attacker crafts a malicious Visual Studio Code workspace directory - for example, a repository hosted on a public code hosting platform - containing a configuration file or task definition whose inputs are not included in VSCode's security blocklist. When a developer clones and opens the workspace, VSCode processes the crafted inputs, the incomplete blocklist fails to block them, and the security control is bypassed, potentially granting the attacker code execution within the VSCode process context with the developer's privileges. No public exploit code is known at time of analysis.

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

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

Alert me

AnalysisAIv1 – Sep 09, 2026

Security feature bypass in Visual Studio Code before 1.136.2 allows a local attacker to circumvent an input-validation blocklist (CWE-184), resulting in high confidentiality, integrity, and availability impact. The vulnerability requires user interaction - most plausibly opening a crafted workspace or file - but no elevated privileges. Microsoft shipped a vendor patch capping affected versions below 1.136.2; no public exploit or CISA KEV listing has been identified at time of analysis.

RemediationAI

Update Visual Studio Code to version 1.136.2 or later, which is the vendor-confirmed patched release per the MSRC advisory (https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-70334). VSCode ships automatic update prompts; users can also trigger an update manually via Help → Check for Updates. For environments where automatic updates are disabled or managed centrally, administrators should push 1.136.2 via their endpoint management tooling. As a temporary compensating control prior to patching, restricting VSCode Workspace Trust to trusted workspaces only (disabling auto-trust for newly opened folders) reduces the attack surface by requiring user confirmation before executing workspace-level settings, though this does not eliminate the underlying blocklist flaw.

Affected VersionsENISA

Visual Studio Code 1.0.0 <1.136.2

Affected Packages

euvd visual_studio_code fix: 1.136.2

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

CWE-184 (Incomplete List of Disallowed Inputs) describes a blocklist-based input filter that fails to enumerate every dangerous input, allowing bypass of a security control. In Visual Studio Code, this class of flaw most commonly affects the Workspace Trust mechanism, Restricted Mode, or task/terminal input sanitization - controls that rely on denylists to prevent execution of untrusted code when a user opens an external workspace or repository. The CVSS local attack vector (AV:L) combined with UI:R and PR:N is consistent with a maliciously crafted workspace or settings file that a user opens, triggering a bypass of the protective blocklist without requiring the user to hold any special privileges. The affected version range spans Visual Studio Code 1.0.0 through 1.136.1 inclusive.

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

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 delivery via crafted workspace (AV:L), no special privileges needed (PR:N), but user must open the malicious content (UI:R); all three CIA pillars high because VSCode process runs as the developer user with full filesystem access.

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:A/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
Sep 08, 2026 - 18:35 EUVD
CVE Published
Sep 08, 2026 - 18:20 nvd
HIGH 7.8

DescriptionCVE.org

Incomplete list of disallowed inputs in Visual Studio Code allows an unauthorized attacker to bypass a security feature locally.

Executive ViewAI

Why It Matters

Visual Studio Code versions before 1.136.2 contain a security feature bypass vulnerability (CVSS 7.8) that allows local attackers to circumvent input-validation controls through crafted workspace files, risking manipulation of developer environments and source code integrity. Development teams using affected versions face exposure to workspace-based attacks that could introduce malicious code or configurations into the development pipeline. Immediate patching is required across all development systems and personal devices used by engineering staff.

Business Impact: High
Compensating Controls

Apply vendor patch: Visual Studio Code 1.136.2 or later.

Threat Intelligence Overview

EPSS Score
0.4%
Top 63% exploitable
Prevalence
High
most popular code editor globally, dominant in developer workflows
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.4%
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
CVE-2022-41034 HIGH POC
7.8 Oct 11

Visual Studio Code Remote Code Execution Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is no authent

CVE-2022-30129 HIGH POC
8.8 May 10

Visual Studio Code Remote Code Execution Vulnerability. Rated high severity (CVSS 8.8), this vulnerability is remotely e

CVE-2026-81376 CRITICAL
9.6 Sep 08

Security-feature bypass in Microsoft Visual Studio Code before 1.136.2 lets a remote, unauthenticated attacker defeat a

CVE-2026-102238 CRITICAL
9.6 Oct 13

Remote code execution in Visual Studio Code (versions 1.0.0 up to but not including 1.141.1) is achievable through a pat

CVE-2026-47281 CRITICAL
9.6 Jun 09

Privilege escalation in Microsoft Visual Studio Code allows remote unauthenticated attackers to elevate privileges over

CVE-2021-43891 HIGH
7.8 Dec 15

Visual Studio Code Remote Code Execution Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is no authent

CVE-2026-121663 HIGH
8.8 Nov 10

Security feature bypass in Visual Studio Code before 1.145.3 allows an unauthenticated remote attacker to evade a securi

CVE-2026-119975 HIGH
8.8 Nov 10

Cross-site scripting in Visual Studio Code before 1.145.3 can let unauthenticated, network-reachable attackers run attac

CVE-2026-57102 HIGH
8.8 Jul 14

Security-feature bypass in Microsoft Visual Studio Code lets a remote attacker deliver functionality from an untrusted c

CVE-2026-59113 HIGH
8.8 Aug 11

Remote code execution in Visual Studio Code (versions 1.0.0 through 1.132.0) is enabled by a missing authorization check

CVE-2026-69370 HIGH
8.8 Oct 13

Command injection in Visual Studio Code 1.0.0 through 1.141.0 allows an unauthenticated remote attacker to execute arbit

CVE-2026-70336 HIGH
8.8 Aug 11

Remote code execution in Microsoft Visual Studio Code allows a network-based attacker to inject and execute arbitrary co

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