Skip to main content

Visual Studio Code CVE-2026-102235

| EUVDEUVD-2026-100601 HIGH
Improper Encoding or Escaping of Output (CWE-116)
2026-10-13 secure@microsoft.com GHSA-59jm-fvhc-v335
8.8
CVSS 3.1 · Vendor: microsoft
View

Attack ChainAIDerived

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

  1. Access
    Craft malicious file or repository
  2. Exploit
    Lure developer to open it in VS Code
  3. Execution
    Improper output escaping executes injected payload
  4. Impact
    Arbitrary code execution with user privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding for downstream
Exploitation Conditions

Exploitation requires the victim to open attacker-controlled content - a crafted file, folder, repository, or workspace - in Visual Studio Code, where improper output encoding/escaping (CWE-116) is triggered during rendering; this user interaction (UI:R) is the primary limiting factor. No authentication is required (PR:N) and the attack is network-deliverable (AV:N), e.g. via a malicious repository the developer clones and opens. Exploitation is limited to Visual Studio Code versions from 1.0.0 up to but not including the patched 1.141.1; updating to 1.141.1 or later removes the exposure.

Impact

The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, base 8.8) describes a network-reachable, low-complexity, unauthenticated code-execution flaw whose only brake is required user interaction (UI:R) - consistent with a CWE-116 output-encoding defect that fires when a victim opens attacker-controlled content in Visual Studio Code. No EPSS score, no CISA KEV listing, and no POC indicator were supplied, so exploitation signals cannot corroborate the high CVSS: there is no public exploit identified at time of analysis and no evidence of active exploitation. This means the score reflects potential impact, not observed in-the-wild activity, so it should be treated as a high-priority patch item (full confidentiality/integrity/availability loss on developer endpoints) rather than an emergency zero-day. Note a data conflict: the single input Tag 'Authentication Bypass' does not match the CWE (CWE-116, improper output encoding) or the behavior described - treat that tag as unreliable. EPSS/KEV/POC data is absent, so real-world exploitation likelihood is UNKNOWN rather than confirmed low.

Exploit ScenarioDerived

An attacker crafts a malicious file, folder, repository, or workspace containing content that is improperly encoded/escaped when rendered by Visual Studio Code. When a developer opens or previews that content, the improperly handled output triggers execution of attacker-controlled code on the victim's machine with the user's privileges. No public exploit code was identified in the provided data, and the UI:R metric means the victim must open the malicious content for the attack to succeed.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
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 – Oct 13, 2026

Remote code execution in Visual Studio Code versions 1.0.0 through 1.141.1 allows an unauthenticated, network-positioned attacker to execute arbitrary code when a victim opens attacker-controlled content (e.g., a crafted workspace, folder, or repository), due to improper output encoding/escaping (CWE-116). Exploitation requires user interaction, and no public exploit code has been identified at time of analysis. The vendor has released a patch in version 1.141.1.

RemediationAI

Vendor-released patch: update to Visual Studio Code 1.141.1 or later. The official advisory and update guide is at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-102235. No workarounds are documented in the available references; applying the update is the only confirmed remediation. If immediate patching is delayed, exercise caution when opening untrusted workspaces or repositories, as the vulnerability requires user interaction to trigger.

Affected VersionsENISA

Visual Studio Code 1.0.0 <1.141.1

Affected Packages

euvd visual_studio_code fix: 1.141.1

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 vulnerability is classified as CWE-116: Improper Encoding or Escaping of Output, meaning the application fails to neutralize special elements when generating output, which can allow injected content to be interpreted as code or markup. In Visual Studio Code, this occurs when rendering content from untrusted sources such as workspace files, repository metadata, or extension-provided webviews. With a CVSS 3.1 vector of AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, the attack is network-deliverable and requires no authentication, but the victim must open the malicious content (UI:R). Successful exploitation yields high confidentiality, integrity, and availability impact, consistent with arbitrary code execution. Affected versions are Visual Studio Code 1.0.0 up to but not including 1.141.1, as per ENISA EUVD (EUVD-2026-100601).

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

Content is delivered over the network (AV:N) and needs no privileges (PR:N) but requires the victim to open it (UI:R); code execution yields full C/I/A impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/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:N/SI:N/SA:N

Primary rating from Vendor (microsoft).

CVSS VectorVendor: microsoft

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Oct 13, 2026 - 21:05 EUVD
CVE Published
Oct 13, 2026 - 20:17 nvd
HIGH 8.8

DescriptionCVE.org

Improper encoding or escaping of output in Visual Studio Code allows an unauthorized attacker to execute code over a network.

Executive ViewAI

Why It Matters

Visual Studio Code is affected by a high-severity remote code execution vulnerability that can compromise developer workstations if a user opens attacker-controlled content such as a crafted workspace or repository. The flaw affects a broad range of versions and, while there is no public exploit identified at time of analysis, a successful attack could lead to unauthorized code execution, intellectual property loss, and potential lateral movement from developer environments. Leadership should ensure rapid patching because developer endpoints often hold privileged access to source code, CI/CD systems, and production credentials.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.6%
Top 55% exploitable
Prevalence
High
Visual Studio Code is among the most widely deployed developer editors globally
Threat Intel
1
1 sources
Vendor Status
Publicly Disclosed:No
Exploited:No
Latest Software Release:Exploitation Less Likely
Data Quality
7 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.6%
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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

CVE-2026-78462 HIGH
8.8 Sep 08

Authorization bypass in Visual Studio Code versions 1.0.0 through 1.136.1 allows an unauthenticated network attacker to

CVE-2026-69320 HIGH
8.8 Aug 11

OS command injection in Visual Studio Code exposes victims to remote code execution when they interact with attacker-con

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