Skip to main content

Visual Studio Code CVE-2026-48569

| EUVDEUVD-2026-35586 MEDIUM
Improper Input Validation (CWE-20)
2026-06-09 secure@microsoft.com GHSA-3jqf-9c2w-8c5m
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Craft malicious workspace or file
  2. Delivery
    Deliver via repo, link, or email
  3. Exploit
    Victim opens content in VS Code
  4. Execution
    Improper input validation bypasses security feature
  5. Persist
    Cross trust boundary (S:C)
  6. Impact
    Exfiltrate 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

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

Visual Studio Code 1.0.0 <1.119.1

Affected Packages

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

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
ENISA EUVD HIGH

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

3
Severity Changed
Jun 12, 2026 - 17:07 NVD
HIGH MEDIUM
CVSS changed
Jun 12, 2026 - 17:07 NVD
7.1 (HIGH) 5.5 (MEDIUM)
Patch available
Jun 09, 2026 - 19:03 EUVD

DescriptionNVD

Improper input validation in Visual Studio Code allows an unauthorized attacker to bypass a security feature locally.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.1%
Top 76% exploitable
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Small
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

33
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
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.

Related Vulnerabilities in Visual Studio Code Security Feature Bypass Flaws

View all 4
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-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