Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious workspace with path-equivalence trick
-
DeliveryDeliver repo/folder to developer
-
ExploitVictim opens folder in VS Code
-
ExecutionPath resolution bypasses security feature
-
PersistProtected boundary (trust) evaded
-
ImpactCode 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
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.
Primary rating from Vendor (microsoft).
CVSS VectorVendor: microsoft
Lifecycle Timeline
2DescriptionCVE.org
Improper resolution of path equivalence in Visual Studio Code allows an unauthorized attacker to bypass a security feature locally.
Executive ViewAI
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
More in Visual Studio Code
View allVisual Studio Code Remote Code Execution Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is no authent
Visual Studio Code Remote Code Execution Vulnerability. Rated high severity (CVSS 8.8), this vulnerability is remotely e
Security-feature bypass in Microsoft Visual Studio Code before 1.136.2 lets a remote, unauthenticated attacker defeat a
Remote code execution in Visual Studio Code (versions 1.0.0 up to but not including 1.141.1) is achievable through a pat
Privilege escalation in Microsoft Visual Studio Code allows remote unauthenticated attackers to elevate privileges over
Visual Studio Code Remote Code Execution Vulnerability. Rated high severity (CVSS 7.8), this vulnerability is no authent
Security-feature bypass in Microsoft Visual Studio Code lets a remote attacker deliver functionality from an untrusted c
Remote code execution in Visual Studio Code (versions 1.0.0 through 1.132.0) is enabled by a missing authorization check
Command injection in Visual Studio Code 1.0.0 through 1.141.0 allows an unauthenticated remote attacker to execute arbit
Remote code execution in Microsoft Visual Studio Code allows a network-based attacker to inject and execute arbitrary co
Remote code execution in Visual Studio Code versions 1.0.0 through 1.141.1 allows an unauthenticated, network-positioned
Authorization bypass in Visual Studio Code versions 1.0.0 through 1.136.1 allows an unauthenticated network attacker to
EUVD-2026-99036
GHSA-468c-88ww-rr69
NVD
CVE.org
EPSS
Exploit-DB