Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious workspace or file
-
DeliveryDeliver via repo, link, or email
-
ExploitVictim opens content in VS Code
-
ExecutionImproper input validation bypasses security feature
-
PersistCross trust boundary (S:C)
-
ImpactExfiltrate sensitive workspace data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
|
| Exploitation Conditions | Exploitation requires the victim to locally open attacker-controlled content (workspace, file, or URI) in Visual Studio Code - this is the UI:R user-interaction requirement and AV:L local-vector constraint from the CVSS string. No authentication to VS Code is required (PR:N), but the attacker must deliver the malicious workspace/file to the developer's machine via social engineering, a malicious repository clone, a phishing attachment, or a vscode:// URI link. Exploitation is limited by the need for a human to actually open the payload in VS Code and by whatever specific security feature (Workspace Trust, sandbox, or restricted-mode check) is bypassed; it cannot be triggered by network-only access to the host, and headless or unattended systems are not viable targets. |
| Impact | Real-world risk is moderate rather than urgent. CVSS 7.1 is driven by local attack vector (AV:L), low complexity (AC:L), no privileges required (PR:N), but mandatory user interaction (UI:R) - the victim must open a malicious workspace, file, or link in VS Code. The scope change and C:H/I:L impact mean a successful bypass can leak sensitive data across the trust boundary, but it cannot be triggered purely remotely or wormed. No EPSS score, KEV listing, SSVC decision, or POC data was supplied with this advisory, so automated exploitation probability cannot be quantified; the absence of KEV and POC signals suggests this is not currently a widespread exploitation priority. Given VS Code's massive developer install base, however, this is a plausible target for supply-chain or social-engineering campaigns (malicious repo lures), so it should be patched promptly even if not treated as an emergency. |
| Exploit ScenarioDerived | An attacker publishes a malicious Git repository, ZIP archive, or .code-workspace file - for example via a typosquatted package, a phishing email, or a poisoned GitHub link - and persuades a developer to open it in VS Code. When the victim opens the crafted content locally, the improper input validation flaw bypasses the intended security feature (likely Workspace Trust or a sandboxing check), allowing the attacker's payload to read sensitive workspace data or files beyond its expected sandbox. No public exploit has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 09, 2026
Security feature bypass in Microsoft Visual Studio Code allows a local unauthenticated attacker to circumvent a built-in protection mechanism through improper input validation, requiring user interaction to trigger. With CVSS 7.1 and scope-changed impact (S:C) yielding high confidentiality exposure, the flaw lets a crafted input cross VS Code's trust boundary on the local host. There is no public exploit identified at time of analysis and the vulnerability is not listed in CISA KEV.
RemediationAI
Apply the Microsoft-issued update for Visual Studio Code as documented in MSRC advisory CVE-2026-48569 at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-48569; exact fix version is not provided in the supplied data and must be confirmed against that advisory. Enable VS Code's auto-update channel so endpoints converge on the patched build, and in managed environments push the update through your endpoint management tool. Until patched, treat unknown repositories as untrusted by keeping Workspace Trust enabled (security.workspace.trust.enabled=true) and refusing to grant trust to cloned repos, avoid opening folders or files received from untrusted sources, and disable automatic opening of workspaces from URI handlers; these controls reduce the user-interaction surface that the bug requires but do not fully eliminate the bypass.
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 Microsoft's cross-platform Electron-based source code editor that ships with security features such as Workspace Trust, restricted-mode rendering, and extension sandboxing to contain untrusted repository content. The root cause is CWE-20 (Improper Input Validation), meaning the editor accepts or processes input in a way that does not sufficiently enforce expected structural or semantic constraints, enabling a security check to be bypassed. The scope-changed CVSS metric (S:C) indicates that the vulnerable VS Code component can affect resources beyond its own security authority - consistent with a Workspace Trust or sandbox boundary being undermined when a malicious workspace, file, or URI handler is opened.
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:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionNVD
Improper input validation in Visual Studio Code allows an unauthorized attacker to bypass a security feature locally.
Executive ViewAI
Microsoft Visual Studio Code contains a security feature bypass vulnerability (CVE-2026-48569, CVSS 7.1) that allows local attackers to circumvent built-in protections through crafted input, potentially exposing sensitive code and credentials in development environments. This directly impacts development teams and engineers using VS Code, with scope-changed impact creating risk of unauthorized access to proprietary source code and intellectual property. The absence of an available patch requires immediate implementation of compensating controls to reduce organizational exposure.
No vendor-released patch identified at time of analysis. Implement interim mitigations: (1) restrict VS Code process file system access to required directories only, (2) enforce extension allowlist and disable installation of unsigned or untrusted extensions, (3) deploy file integrity monitoring on source code repositories and sensitive configuration files, (4) monitor local network activity from VS Code processes for anomalous behavior, (5) isolate development environments on trusted networks only, (6) require multi-factor authentication for access to sensitive code repositories.
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.
Related Vulnerabilities in Visual Studio Code Security Feature Bypass Flaws
View all 4More 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
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-35586
GHSA-3jqf-9c2w-8c5m
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB