Skip to main content

Visual Studio Code EUVDEUVD-2026-99036

| CVE-2026-102231 HIGH
Improper Resolution of Path Equivalence (CWE-41)
2026-10-13 secure@microsoft.com GHSA-468c-88ww-rr69
7.7
CVSS 3.1 · Vendor: microsoft
View

Attack ChainAIDerived

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

  1. Access
    Craft malicious workspace with path-equivalence trick
  2. Delivery
    Deliver repo/folder to developer
  3. Exploit
    Victim opens folder in VS Code
  4. Execution
    Path resolution bypasses security feature
  5. Persist
    Protected boundary (trust) evaded
  6. Impact
    Code executes outside sandbox on host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path traversal prevention
Exploitation Conditions

Exploitation requires the victim to open attacker-controlled content (a crafted folder, workspace, or repository containing path names that defeat VS Code's path-equivalence resolution) and interact with it locally - this is the mandatory UI:R user interaction. The bypass targets a local security feature, most likely Workspace Trust / restricted-mode protections, so the realistic precondition is that the user opens untrusted project files in VS Code on their own machine. Limiting factors that reduce real-world risk: the attack is local only (AV:L - no remote/network trigger), has high complexity (AC:H, suggesting timing, specific path layouts, or non-default conditions), and depends entirely on social engineering to get the victim to open and act on the malicious workspace. No remote, unauthenticated, or zero-click path is indicated. The exact feature bypassed and vulnerable VS Code versions should be confirmed against the MSRC advisory.

Impact

This is a moderate-priority, developer-workstation vulnerability rather than an internet-facing emergency. The CVSS 3.1 base score of 7.7 is elevated mainly because of the scope change (S:C) and triple High impact (C:H/I:H/A:H), but the exploitability metrics temper real-world risk: AV:L means the attacker cannot reach the flaw over the network, AC:H signals a non-trivial, possibly race- or configuration-dependent condition, and UI:R requires the victim to take an action (e.g., open a malicious folder/workspace in VS Code). The one aggravating signal is PR:N - no prior authentication or privilege is needed on the target once the user is enticed to interact. No EPSS score, CISA KEV entry, SSVC decision, or POC was supplied, so there is no evidence of active exploitation or published exploit code; exploitation status is 'no public exploit identified at time of analysis.' Note a tension worth flagging: the Tags label this an 'Authentication Bypass,' yet the description and CWE-41 (path equivalence) describe a local security-feature bypass, not credential/authentication circumvention - treat the 'security feature' as most likely Workspace Trust or a similar local sandbox control, and verify the exact bypassed control with Microsoft (MSRC). Net assessment: real but conditional - prioritize patching on developer fleets, but it does not warrant the same urgency as a remote, no-interaction (AV:N/UI:N) flaw.

Exploit ScenarioDerived

An attacker distributes a malicious repository or project folder (e.g., via a shared drive, phishing, or a tampered open-source clone) whose crafted file paths exploit improper path-equivalence resolution. When a developer opens the folder in Visual Studio Code and interacts with it, the equivalence confusion bypasses the intended local security feature (e.g., Workspace Trust), enabling code to run outside the protected boundary. No public exploit code is known at time of analysis, and the high attack complexity (AC:H) means exploitation is not fully reliable.

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 – Oct 13, 2026

Improper resolution of path equivalence (CWE-41) in Visual Studio Code allows an unauthenticated local attacker to bypass a security feature, likely Workspace Trust or restricted mode, by convincing a victim to open and interact with a crafted workspace or folder. The vulnerability requires user interaction and high attack complexity, and while it has a CVSS score of 7.7 (High), it is a moderate-priority developer-workstation issue rather than an internet-facing emergency. No public exploit code has been identified at time of analysis, and the exact affected versions should be confirmed via the linked Microsoft advisory.

RemediationAI

Apply the latest Visual Studio Code update as directed by Microsoft. Since no exact fix version is provided in the input data, refer to the MSRC advisory (https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-102231) for patch availability and version numbers. As a compensating control, users should avoid opening untrusted workspaces or folders in VS Code and ensure that Workspace Trust is enabled and strictly enforced; however, this may limit functionality for legitimate development workflows. Administrators can restrict the use of VS Code in high-risk environments or disable the ability to open untrusted content, though this may impact developer productivity. Social engineering awareness training can reduce the likelihood of a victim opening malicious content. The vendor advisory is the authoritative source for remediation guidance.

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

Visual Studio Code is an Electron-based source code editor. CWE-41 (Improper Resolution of Path Equivalence) occurs when software fails to correctly handle path equivalences such as case-insensitivity, trailing dots/spaces, or short file names, leading to bypasses of path-based security checks. In this case, the flaw likely enables an attacker to craft a workspace or folder with specially named paths that defeat VS Code's internal path-equivalence resolution, thereby circumventing Workspace Trust or similar protections. The attack is local (AV:L) with high complexity (AC:H), meaning it requires specific path layouts or conditions and cannot be triggered remotely. The CVSS vector indicates scope change (S:C) and high impacts to confidentiality, integrity, and availability, but exploitation is contingent on the victim opening and interacting with the malicious content. The 'Authentication Bypass' tag suggests the bypass targets a security feature that normally restricts code execution or access, but the exact feature is not detailed in the provided data.

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

Local delivery via opened workspace sets AV:L and UI:R; no prior privilege needed gives PR:N; path-equivalence races justify AC:H; bypassing the trust boundary yields S:C with full host C/I/A:H.

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

Primary rating from Vendor (microsoft).

CVSS VectorVendor: microsoft

Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Oct 13, 2026 - 20:20 EUVD
CVE Published
Oct 13, 2026 - 19:17 nvd
HIGH 7.7

DescriptionCVE.org

Improper resolution of path equivalence in Visual Studio Code allows an unauthorized attacker to bypass a security feature locally.

Executive ViewAI

Why It Matters

Visual Studio Code contains a high-severity path-equivalence flaw (CVE-2026-102231, CVSS 7.7) that can let a local attacker bypass a security feature, likely Workspace Trust or restricted mode, when a user opens and interacts with a crafted workspace or folder. The issue is confined to developer workstations and requires user interaction, so it is not an internet-facing emergency, and no public exploit identified at time of analysis. However, because no vendor-released patch identified at time of analysis, development teams should treat untrusted workspaces as untrusted and monitor Microsoft's advisory for remediation.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: enforce Workspace Trust or restricted mode, prohibit opening untrusted workspaces or folders, train developers on social-engineering risks, harden developer endpoints to limit local attacker opportunities, and monitor the Microsoft advisory for patch availability.

Threat Intelligence Overview

EPSS Score
0.4%
Top 70% exploitable
Prevalence
High
Visual Studio Code is among the most widely deployed developer IDEs globally
Threat Intel
1
1 sources
Vendor Status
Publicly Disclosed:No
Exploited:No
Latest Software Release:Exploitation Less Likely
Data Quality
5 sources
Confidence: Medium

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· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

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

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