Skip to main content

Visual Studio Code CVE-2026-57102

| EUVDEUVD-2026-44277 HIGH
Inclusion of Functionality from Untrusted Control Sphere (CWE-829)
2026-07-14 microsoft GHSA-3r7w-m284-m5r3
8.8
CVSS 3.1 · Vendor: microsoft
View

Attack ChainAIDerived

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

  1. Access
    Host malicious repository or file
  2. Delivery
    Lure developer to open in VS Code
  3. Exploit
    Untrusted functionality loaded and included
  4. Execution
    Bypass security feature
  5. Impact
    Compromise editor confidentiality/integrity/availability

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V15 - Secure Coding and Architecture Trusted source inclusion only
Exploitation Conditions

Exploitation requires user interaction (CVSS UI:R): the victim must open or interact with attacker-controlled content in Visual Studio Code - such as a malicious repository, workspace, file, or link that causes the editor to include functionality from an untrusted control sphere. No authentication is required (PR:N) and the vector is network-reachable (AV:N) with low complexity (AC:L), so no attacker-side privileges or special access are needed. The chief limiting factor is that the attack cannot succeed without the victim opening the malicious content; there is no zero-click path, and Workspace Trust in restricted mode may blunt untrusted-workspace vectors on default configurations.

Impact

The CVSS 3.1 vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H drives the 8.8 score: network vector, low complexity, no privileges, but mandatory user interaction (UI:R) - meaning a victim must open a repository, file, or link. That UI:R is the primary limiting factor and separates this from a wormable zero-click flaw. No EPSS score was provided in the input, and there is no KEV listing and no POC signal, so real-world exploitation pressure is currently unproven despite the high base score. Note a tension worth flagging: the feed tags this 'Authentication Bypass' while CWE-829 and the description frame it as a security-feature bypass via untrusted-content inclusion - treat the 'auth bypass' tag as loose labeling and rely on the CWE/description; the practical risk is a developer opening a malicious project, which is a realistic and well-precedented attack pattern for VS Code.

Exploit ScenarioDerived

An attacker crafts a malicious repository or file - for example a project with hostile workspace configuration or a component referenced from an untrusted location - and lures a developer into opening it in Visual Studio Code. When the victim opens the content (UI:R), the untrusted functionality loads and bypasses the intended security feature, giving the attacker high-impact control over the editor's context. No public exploit is identified at time of analysis.

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

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

Alert me

AnalysisAIv1 – Jul 14, 2026

Security-feature bypass in Microsoft Visual Studio Code lets a remote attacker deliver functionality from an untrusted control sphere (CWE-829) that circumvents a built-in protection, yielding high confidentiality, integrity, and availability impact once a victim opens or interacts with attacker-supplied content. Rated CVSS 8.8 (AV:N/AC:L/PR:N/UI:R), it requires user interaction but no authentication, and Microsoft has released a fix via MSRC. There is no public exploit identified at time of analysis and it is not on the CISA KEV list.

RemediationAI

Patch available per vendor advisory: update Visual Studio Code to the fixed release identified in the MSRC guide at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-57102 (the exact patched version is listed there; it is not restated in this feed, so consult MSRC for the precise build). Because VS Code auto-updates by default, ensure the auto-update channel is enabled and force a restart, or push the current release through your software-management tooling to remove the vulnerable version fleet-wide. As interim compensating controls, enable and do not disable Workspace Trust so untrusted folders open in restricted mode (trade-off: prompts and reduced functionality when opening new projects), and instruct developers not to open repositories, files, or links from untrusted sources until patched (trade-off: relies on user discipline rather than a technical gate).

Affected VersionsENISA

Visual Studio Code 1.0.0 <1.128.1

Affected Packages

euvd visual_studio_code fix: 1.128.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

Visual Studio Code is Microsoft's cross-platform Electron-based source-code editor, which pulls in extensions, workspace configuration, and remote/web content that can originate outside the trusted boundary. The vulnerability maps to CWE-829 (Inclusion of Functionality from an Untrusted Control Sphere), meaning the editor loads or executes code/resources controlled by a party the security model should not trust - for example workspace-scoped settings, extension logic, or remotely referenced components - thereby defeating a guardrail intended to gate that behavior. The affected CPE is cpe:2.3:a:microsoft:visual_studio_code:*:*:*:*:*:*:*:* (all versions prior to the patched build); the exact fixed version is enumerated in the MSRC advisory but not restated in this feed.

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

Network-delivered untrusted content needs no privileges (PR:N) but requires the victim to open it (UI:R); inclusion of untrusted functionality yields high C/I/A within the editor's unchanged scope.

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:P/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

DescriptionCVE.org

Inclusion of functionality from untrusted control sphere in Visual Studio Code allows an unauthorized attacker to bypass a security feature over a network.

Executive ViewAI

Why It Matters

Microsoft Visual Studio Code is vulnerable to a security-feature bypass (CVSS 8.8) that allows remote attackers to execute untrusted code when users open attacker-supplied files, creating a direct threat to developer systems and the integrity of software they create. This vulnerability affects any organization where developers use VSCode and requires immediate patching to prevent potential compromise of development environments and downstream build artifacts.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.8%
Top 49% exploitable
Prevalence
Ubiquitous
one of the most widely deployed developer IDEs worldwide
Threat Intel
1
1 sources
Vendor Status
Publicly Disclosed:No
Exploited:No
Latest Software Release:Exploitation Unlikely
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.8%
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-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-102235 HIGH
8.8 Oct 13

Remote code execution in Visual Studio Code versions 1.0.0 through 1.141.1 allows an unauthenticated, network-positioned

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