Skip to main content

Visual Studio Code EUVDEUVD-2026-100323

| CVE-2026-102851 MEDIUM
Incorrect Privilege Assignment (CWE-266)
2026-10-13 secure@microsoft.com GHSA-pqx5-457c-r54v
6.1
CVSS 3.1 · Vendor: microsoft
View

Attack ChainAIDerived

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

  1. Access
    Gain local authorized access to host
  2. Delivery
    Stage malicious workspace or project artifact
  3. Exploit
    Trigger incorrect privilege assignment under required conditions
  4. Execution
    Induce victim user interaction in editor
  5. Impact
    Bypass security feature with elevated scope

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V8 - Authorization Privilege assignment review
Exploitation Conditions

Exploitation requires the attacker to already be a locally authorized user on the same host as the victim (AV:L, PR:L) - this is not remotely reachable. The attacker must also satisfy a high-complexity precondition (AC:H), such as a race or specific environmental state, and the victim must perform an in-editor action (UI:R). These limiting factors - local access, existing authorization, a difficult-to-control condition, and required user interaction - substantially constrain real-world exploitation despite the scope-changed integrity impact. The exact security feature bypassed and the precise triggering workflow are not detailed in the available data (only the MSRC advisory is referenced); verify specifics against the Microsoft update guide for CVE-2026-102851.

Impact

This is a moderate-severity, local privilege/security-feature bypass that should be treated as a routine patch priority rather than an emergency. The CVSS 3.1 vector (AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:N, base 6.1) describes a difficult-to-exploit local issue: the attacker must already be a locally authorized user (PR:L), must win a high-complexity condition (AC:H), and must induce user interaction (UI:R). The scope change (S:C) and high integrity impact (I:H) explain why the score is not lower despite the local vector - a successful bypass can affect resources beyond the vulnerable component's security authority. No EPSS score, no CISA KEV listing, and no public POC were provided, so there is no public exploit identified at time of analysis and no evidence of active or widespread exploitation. The combination of local-only access, high attack complexity, required privileges, and required user interaction makes mass exploitation unlikely; the realistic concern is a motivated local actor on a shared or multi-user developer workstation. Net: a real but low-urgency fix given the enormous install base of VS Code, worth rolling out in normal patch cycles.

Exploit ScenarioDerived

A locally authorized user on a shared developer machine crafts a malicious workspace or project artifact and, by winning a timing/condition-dependent race (AC:H) and getting the victim to perform an action in the editor (UI:R), causes VS Code to misassign privileges and bypass a security feature. No public exploit code is known, and the high attack complexity plus required user interaction make reliable exploitation difficult.

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

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

Alert me

AnalysisAIv1 – Oct 13, 2026

A local security-feature bypass in Visual Studio Code (all builds from 1.0.0 up to but not including 1.141.1) lets a low-privileged, already-authorized local attacker violate the editor's privilege boundaries under specific, hard-to-control conditions, with the integrity impact extending beyond VS Code's own security scope. Exploitation is not remotely reachable: it requires local access on the same host (AV:L), an existing low-privilege account (PR:L), a high-complexity precondition such as a race or particular environmental state (AC:H), and a victim action inside the editor (UI:R), which substantially constrains real-world abuse. There is no public exploit identified at time of analysis, no CISA KEV listing, and the vendor has released a patch, so this should be handled as a routine moderate-severity patch priority rather than an emergency.

RemediationAI

Vendor-released patch: update Visual Studio Code to 1.141.1 or later, per the MSRC update guide for CVE-2026-102851 (https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-102851); the affected range is everything below 1.141.1, so any build in that range is unpatched. Because the flaw is a local privilege/security-feature bypass and the attack vector is AV:L with PR:L, the most effective compensating controls are host- and workspace-scoped rather than network-scoped: restrict interactive logon on developer workstations so untrusted users cannot obtain the low-privileged local account the exploit requires, and enable Workspace Trust so that auto-executed tasks, extensions, and configuration from untrusted folders are blocked - noting that the trade-off is reduced convenience for repos that rely on auto-run tasks or extension activation. Disabling or curtailing untrusted third-party extensions (for example via an allow-listed extension policy) reduces the reachable attack surface around privilege assignment but does not remove the underlying defect, and blocking local multi-user access has no network-side equivalent mitigation since the vulnerability is not remotely reachable. Given the required user interaction (UI:R), user awareness guidance to avoid acting on unsolicited in-editor prompts is a weak, secondary control only, and should not replace patching.

Affected VersionsENISA

Visual Studio Code 1.0.0 <1.141.1

Affected Packages

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

The root cause is classified as CWE-266 (Incorrect Privilege Assignment), meaning the product grants or retains a privilege level that does not match the security policy it is supposed to enforce, effectively allowing an authorized local user to bypass a security feature rather than to exploit a memory-safety or injection flaw. The CVSS vector CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:N describes a local attack path with high attack complexity, low privileges required, user interaction required, and a scope change (S:C) - the integrity impact (I:H) therefore affects a component outside the vulnerable VS Code process boundary, while confidentiality impact is only low and availability is unaffected. CWE-266 issues in developer tooling typically arise around permission checks for features such as extension hosting, workspace trust, task/terminal execution, or file-system access privileges; the MSRC advisory for CVE-2026-102851 is the authoritative source for the exact feature bypassed and the precise triggering workflow, neither of which is detailed in the available data. The scope-change and integrity weighting explain the 6.1 base score despite the otherwise limiting local, high-complexity, interaction-dependent profile.

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

Local authorized attacker (AV:L/PR:L), hard-to-meet condition (AC:H) with required victim interaction (UI:R); privilege misassignment crosses a security boundary (S:C) yielding high integrity but no availability impact.

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

Primary rating from Vendor (microsoft).

CVSS VectorVendor: microsoft

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

Lifecycle Timeline

2
Patch available
Oct 13, 2026 - 20:20 EUVD
CVE Published
Oct 13, 2026 - 19:17 cve.org
MEDIUM 6.1

DescriptionCVE.org

Incorrect privilege assignment in Visual Studio Code allows an authorized attacker to bypass a security feature locally.

Threat Intelligence Overview

EPSS Score
0.3%
Top 84% exploitable
Prevalence
Ubiquitous
Visual Studio Code is the most widely deployed code editor among developers
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
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· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
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-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