Skip to main content
Mallory
← Back to News
endpoint-software-vulnerabilitywidely-deployed-product-advisory

Microsoft Fixes VS Code Workspace Trust Bypass That Could Enable Code Execution

Vulnerability Disclosure · 3 sources · Updated 7d ago · First seen Nov 11, 2026

Microsoft Fixes VS Code Workspace Trust Bypass That Could Enable Code Execution

Microsoft released a fix for CVE-2026-102236, a Visual Studio Code security feature bypass that could let attacker-controlled workspace content execute commands or code without the user granting trust. Exploitation requires convincing a user to open a specially crafted workspace, after which execution could occur in that user's context. Microsoft rates the vulnerability Important, with a CVSS v3.1 base score of 8.6. At publication, Microsoft reported no prior public disclosure or exploitation and assessed exploitation as less likely.

Organizations should deploy the available VS Code update rather than rely solely on Workspace Trust to contain unfamiliar projects. The feature normally places untrusted workspaces in Restricted Mode, limiting capabilities such as terminals, tasks, debugging, AI agents, workspace settings, and certain extensions. Users should continue reviewing unfamiliar repositories before granting trust and install extensions only from trusted publishers: Microsoft's documentation warns that malicious extensions can ignore Restricted Mode, so Workspace Trust is not a complete security boundary.

Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

1 event
  1. Reported Nov 10, 20268d ago

    Microsoft discloses VS Code Workspace Trust bypass CVE-2026-102236

    Microsoft disclosed CVE-2026-102236, an Important-rated vulnerability that allows attacker-controlled code or commands to execute without trust approval after a user opens a specially crafted Visual Studio Code workspace. Microsoft indicated an official fix was available and reported no known exploitation or prior public disclosure at original publication.

    CVE-2026-102236 - Security Update Guide - Microsoft - Visual Studio Code Security Feature Bypass Vulnerability
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

1 linked
Visual Studio Code
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.