Skip to main content

Visual Studio Code CVE-2026-58650

| EUVDEUVD-2026-56289 HIGH
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-08-11 secure@microsoft.com GHSA-969h-r76q-fxg7
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Gain local machine access
  2. Delivery
    Write manipulated authorization key into VS Code workspace config
  3. Exploit
    Wait for legitimate user to open VS Code with affected workspace
  4. Execution
    IDE evaluates attacker-controlled key in authorization check
  5. Persist
    Security feature bypassed
  6. Impact
    High-impact access to protected resources achieved

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
Exploitation Conditions

Local machine access is required - the attacker must be able to write or modify a user-controlled key within a VS Code workspace configuration or settings file that a target user will subsequently load. No elevated attacker privileges are required (PR:N per CVSS vector), but a legitimate VS Code user must open or interact with the affected workspace (UI:R), making this a two-party scenario rather than a fully autonomous exploit. The specific VS Code security feature being bypassed and the exact form of the exploitable key are not identified in available advisory text. Exploitation is bounded to the local system (S:U), with no implied scope change to other networked systems. Limiting factors include the requirement for physical or remote-shell local access, the dependency on user interaction, and the constraint to a single system's security boundary - these factors reduce risk in single-user, tightly access-controlled workstation environments.

Impact

The CVSS 7.8 High score is anchored by worst-case CIA impact (C:H/I:H/A:H), but the local attack vector (AV:L) and user-interaction requirement (UI:R) substantially cap real-world exploitability relative to network-exposed vulnerabilities. No EPSS score was provided in the available intelligence, so exploitation probability cannot be quantified; this CVE is absent from the CISA KEV catalog, indicating no confirmed widespread active exploitation. No public exploit code has been identified, further depressing near-term opportunistic risk. The PR:N combined with AV:L and UI:R is consistent with a shared-workstation or poisoned-workspace scenario - an attacker with local machine presence plants a crafted configuration, then relies on a legitimate user opening VS Code against it. Organizations running shared developer workstations, multi-user CI/CD build agents, or DevOps environments where workspace files may be influenced by multiple parties face meaningfully higher exposure than those with strictly single-user locked-down machines.

Exploit ScenarioDerived

A local attacker without elevated privileges crafts a VS Code workspace configuration file containing a manipulated authorization key targeting the affected security feature, then places it in a location accessible to a legitimate user on the same machine. When that user opens VS Code against the poisoned workspace, the IDE's authorization check evaluates the attacker-supplied key and bypasses the intended security boundary, yielding high-impact access to resources protected by that feature. No public exploit code has been identified at time of analysis.

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

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

Alert me

AnalysisAIv1 – Aug 11, 2026

Security feature bypass in Visual Studio Code (versions 1.0.0 through 1.132.1) exploits CWE-639, where authorization decisions rely on attacker-controllable keys, allowing a local attacker to circumvent an intended access control with high impact across confidentiality, integrity, and availability. The attack requires no elevated attacker privileges but does require a legitimate VS Code user to interact with the manipulated environment, pointing to shared-workstation or social-engineering delivery paths. No public exploit code has been identified and this CVE is absent from the CISA KEV catalog at time of analysis; a vendor-released patch is available at version 1.132.1.

RemediationAI

Upgrade Visual Studio Code to version 1.132.1 or later, which contains the vendor-released fix for this authorization bypass; the Microsoft Security Response Center advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-58650 is the authoritative patch reference. Where immediate patching is not feasible, restrict write access to VS Code workspace configuration directories and user settings files to prevent untrusted local accounts from planting manipulated keys - note this is a partial mitigation that reduces the attack surface without eliminating the underlying flaw, and may break legitimate multi-user workspace workflows. Auditing shared or multi-user VS Code environments for unexpected or externally sourced workspace configurations provides additional detection coverage until the patch is deployed.

Affected VersionsENISA

Visual Studio Code 1.0.0 <1.132.1

Affected Packages

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

CWE-639 (Authorization Bypass Through User-Controlled Key) occurs when an application uses an attacker-manipulable value - such as a file path, workspace identifier, object reference, or configuration key - as the basis for an authorization check, allowing substitution of a key that grants unintended access. Visual Studio Code's extensible workspace and settings architecture provides multiple surfaces where file-system-resident or user-supplied keys could influence security decisions; the vulnerability allows one of these keys to be crafted such that the IDE's security feature check is bypassed entirely. The CVSS AV:L confirms exploitation is confined to the local machine, while PR:N indicates no pre-existing account privileges are required from the attacker side; UI:R confirms a legitimate VS Code session must be initiated against the manipulated configuration. Affected versions span VS Code 1.0.0 through 1.132.1 (exclusive) per EUVD-2026-56289.

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

Local-only vector (AV:L) confirmed by description; PR:N consistent with no attacker account required; UI:R required as victim must open manipulated workspace; high CIA impact consistent with full security-feature bypass.

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

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

2
Patch available
Aug 11, 2026 - 18:19 EUVD
CVE Published
Aug 11, 2026 - 17:18 nvd
HIGH 7.8

DescriptionNVD

Authorization bypass through user-controlled key in Visual Studio Code allows an unauthorized attacker to bypass a security feature locally.

Executive ViewAI

Why It Matters

Visual Studio Code through version 1.132.1 contains an access control flaw that allows local attackers to compromise code integrity, credentials, and project confidentiality on shared development workstations. Organizations using shared development environments face immediate risk to source code and intellectual property.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 62% exploitable
Prevalence
High
widely deployed IDE across enterprise developer and DevOps environments
Threat Intel
1
1 sources
Vendor Status
Publicly Disclosed:No
Exploited:No
Latest Software Release:Exploitation More 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 HIGH
CISA KEV No
Public POC No
EPSS 0.5%
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
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
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-121663 HIGH
8.8 Nov 10

Security feature bypass in Visual Studio Code before 1.145.3 allows an unauthenticated remote attacker to evade a securi

CVE-2026-119975 HIGH
8.8 Nov 10

Cross-site scripting in Visual Studio Code before 1.145.3 can let unauthenticated, network-reachable attackers run attac

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

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