Skip to main content

Visual Studio Code CVE-2026-81376

| EUVDEUVD-2026-73332 CRITICAL
Protection Mechanism Failure (CWE-693)
2026-09-08 secure@microsoft.com GHSA-x6gf-c826-8c9m
9.6
CVSS 3.1 · Vendor: microsoft
View

Attack ChainAIDerived

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

  1. Access
    Host malicious workspace/link
  2. Delivery
    Lure developer to open it in VS Code
  3. Exploit
    Incomplete comparison bypasses security feature
  4. Execution
    Cross trust boundary (scope change)
  5. Impact
    Compromise editor host confidentiality/integrity/availability

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Protection mechanism completeness
Exploitation Conditions

Requires victim user interaction (CVSS UI:R): a developer must open or interact with attacker-controlled content in an affected VS Code build (1.0.0 through <1.136.2) - for example a malicious workspace/repository, crafted file, or untrusted URI handled by the editor. No authentication or prior privileges are needed (PR:N), and the vector is network-delivered (AV:N) with low complexity (AC:L), but exploitation is limited by the need for that user action and by the target running a version before 1.136.2. The exact security feature being bypassed is not disclosed in the terse MSRC description.

Impact

The signals are mostly aligned toward high priority: CVSS 9.6 with AV:N/AC:L/PR:N reflects an unauthenticated, low-complexity network vector, and S:C with C:H/I:H/A:H implies the bypass crosses a security boundary into broader impact - plausible for an editor that can execute tasks or extensions. The key limiter is UI:R: exploitation requires a victim to open or interact with attacker-supplied content (a crafted workspace, repository, file, or link), so this is a social-engineering-gated bug rather than a wormable server flaw. No EPSS score, KEV listing, or POC was provided, so there is no evidence of active exploitation or automated weaponization at this time; the risk is real but currently inferred from CVSS and the vendor's high rating rather than observed attacks. Given VS Code's massive developer footprint, any organization running affected builds should patch promptly, but the UI:R gate means realistic exploitation depends on tricking a developer into opening malicious content. Note a data caveat: the description is Microsoft's terse MSRC boilerplate ('bypass a security feature over a network'), so the exact protected feature and the C:H/I:H/A:H mapping cannot be independently verified - confirm specifics against the MSRC advisory.

Exploit ScenarioDerived

An attacker publishes a booby-trapped repository or workspace (or sends a crafted file or vscode:// deep link) and lures a developer into opening it in an unpatched VS Code build. The incomplete comparison causes the relevant security feature to be bypassed, and with the scope-changed high-impact profile the attacker can reach protected functionality - potentially leading to code execution or data compromise on the developer's machine. No public exploit is identified at time of analysis.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.7% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 08, 2026

Security-feature bypass in Microsoft Visual Studio Code before 1.136.2 lets a remote, unauthenticated attacker defeat a protection mechanism when a user is lured into interacting with malicious content (UI:R). Rooted in an incomplete comparison that omits required factors (CWE-693), the flaw carries a scope-changed CVSS 9.6 with full confidentiality, integrity, and availability impact, consistent with a trust/security-control bypass that can extend beyond the editor's initial boundary. A vendor patch exists; no public exploit is identified at time of analysis.

RemediationAI

Upgrade Visual Studio Code to version 1.136.2 or later, which is the first fixed release per ENISA EUVD data; VS Code's built-in auto-update generally delivers this, but managed/offline deployments should push the update explicitly and verify the running version. Consult the vendor advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-81376 for the authoritative fix details. Because exploitation requires user interaction with malicious content, interim compensating controls include enforcing Workspace Trust in restricted mode, training developers not to open untrusted repositories/workspaces or click untrusted vscode:// links, and restricting installation of unvetted extensions - with the trade-off that restricted mode disables some tasks/extension features and may disrupt legitimate workflows; these are stopgaps only and do not substitute for upgrading to 1.136.2.

Affected VersionsENISA

Visual Studio Code 1.0.0 <1.136.2

Affected Packages

euvd visual_studio_code fix: 1.136.2

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, distributed as CPE for Microsoft's 'Visual Studio Code' product line, versions 1.0.0 up to (but not including) 1.136.2. The root cause is classified as CWE-693 (Protection Mechanism Failure), specified here as an 'incomplete comparison with missing factors' - a validation or equality check that fails to account for all inputs/attributes needed to correctly enforce a security decision. In an editor context, such gating typically governs features like Workspace Trust, extension/task auto-execution, URI/handler validation, or origin checks; an incomplete comparison in that logic can cause the guard to accept input it should reject, allowing the protected feature to be reached without the intended safeguard.

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

Network-delivered malicious content requires victim interaction (UI:R) but no auth (PR:N); a security-feature bypass crossing the editor trust boundary supports S:C with high C/I/A, matching the vendor rating.

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

Primary rating from Vendor (microsoft).

CVSS VectorVendor: microsoft

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

Lifecycle Timeline

2
Patch available
Sep 08, 2026 - 18:35 EUVD
CVE Published
Sep 08, 2026 - 18:20 nvd
CRITICAL 9.6

DescriptionCVE.org

Incomplete comparison with missing factors in Visual Studio Code allows an unauthorized attacker to bypass a security feature over a network.

Executive ViewAI

Why It Matters

Microsoft Visual Studio Code versions before 1.136.2 contain a critical security-control bypass that allows unauthenticated attackers to defeat built-in protections when users interact with malicious content, potentially compromising code integrity, developer credentials, and system access across organizations. This flaw affects a foundational tool in modern software development pipelines and poses enterprise-wide risk if users are executing untrusted code or opening attacker-controlled projects.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.7%
Top 50% exploitable
Prevalence
High
one of the most widely deployed developer code editors globally
Threat Intel
1
1 sources
Vendor Status
Publicly Disclosed:No
Exploited:No
Latest Software Release:Exploitation Less Likely
Data Quality
6 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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

54
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +48
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-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

CVE-2026-69320 HIGH
8.8 Aug 11

OS command injection in Visual Studio Code exposes victims to remote code execution when they interact with attacker-con

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