Skip to main content
Mallory
CriticalVulnerability

CVE-2026-120779: Remote Code Execution via MCP Notifications in Visual Studio Code

Published Nov 10, 2026 · Updated 9 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days10 mentions · peak 6 in a dayToday
CVSS9.6Critical · v3.1
EPSS0.88%57th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Microsoft Corporation
IdentifiersCVE-2026-120779CWE-94 · Improper Control of Generation of…

CVE-2026-120779 is a code-injection vulnerability in Microsoft Visual Studio Code versions 1.0.0 through versions before 1.145.3. When a remote Model Context Protocol (MCP) server submits an elicitation request without an available chat session, McpElicitationService falls back to a workbench notification. The notification renderer interprets server-controlled messages as linked text, allowing crafted Markdown command links to invoke workbench commands when clicked. Non-string message objects can also impersonate the renderer's internal linked-text structure. An attacker controlling the connected MCP server can exploit either path to execute code with the user's permissions after the user clicks the malicious notification link.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation permits arbitrary code execution with the permissions of the affected Visual Studio Code user, potentially compromising the confidentiality, integrity, and availability of resources accessible to that account. This can include reading sensitive development data, modifying projects, or executing additional programs. The vulnerability does not inherently grant administrator or SYSTEM privileges, and passive notification display alone is insufficient to trigger the described exploitation.

Mitigation

If you can’t patch tonight, do this now.

Until patched, disable MCP support using the ChatMCP policy value off, or restrict available MCP servers to a curated registry using registryOnly. Avoid connecting to untrusted MCP servers and do not click unexpected command links in MCP-generated notifications. Review server provenance and repository configuration before approving connections. These controls reduce exposure but are not substitutes for patching; no dedicated workaround is documented. Sandboxing locally running stdio MCP servers does not address this remote-server vulnerability.

Remediation

Patch, then assume compromise.

Upgrade Visual Studio Code to version 1.145.3, released November 10, 2026, or later. The fix renders server-controlled elicitation messages as literal notification text and validates that messages are strings before processing them, including task-augmented requests. Malformed non-string messages are rejected with a JSON-RPC INVALID_PARAMS error. Both protections are necessary to address the string-based command-link and object-based renderer-impersonation paths. Install the update through Check for Updates or Microsoft's download service, and verify the installed version in the About dialog.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Microsoft CorporationVisual Studio Codeapplication
FAQ

Frequently asked questions

Is CVE-2026-120779 exploited in the wild?
As of Nov 20, 2026, Mallory has no reports of CVE-2026-120779 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-120779?
As of Nov 20, 2026, Mallory has found no public exploit for CVE-2026-120779.
Is there a patch for CVE-2026-120779?
Upgrade Visual Studio Code to version 1.145.3, released November 10, 2026, or later. The fix renders server-controlled elicitation messages as literal notification text and validates that messages are strings before processing them, including task-augmented requests.
What products are affected by CVE-2026-120779?
Microsoft Corporation Visual Studio Code.
How severe is CVE-2026-120779?
CVE-2026-120779 has a CVSS v3.1 score of 9.6 (Critical) and an EPSS score of 0.88% (57th percentile) as of Nov 20, 2026.
Activity feed

Recent activity

11 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
tenable nessus pluginsNews · Nov 16, 2026Security Update for Microsoft Visual Studio Code (November 2026) | Tenable®Referenced in the November 2026 security update for Microsoft Visual Studio Code. Technical details and impact are not provided.Read more ↗zeropath blogNews · Nov 11, 2026Overview of CVE-2026-120779: Visual Studio Code Code Injection Through MCP Elicitation Notifications, With Patch Analysis - ZeroPath Blog | ZeroPathCritical code-injection vulnerability affecting Microsoft Visual Studio Code versions before 1.145.3. Attacker-controlled MCP elicitation messages could become executable command links in fallback notifications, through either Markdown parsing or objects mimicking internal link nodes. Exploitation requires the user to connect to a malicious remote MCP server and click the crafted notification link; execution occurs with the user's permissions. Microsoft assigned CVSS 3.1 severity 9.6 and reported no observed exploitation at publication. Version 1.145.3, released November 10, 2026, fixes both paths through literal-text rendering and message-type validation. Disabling MCP or restricting servers provides supplementary protection, not a substitute for updating.Read more ↗rapid7 blogNews · Nov 10, 2026Patch Tuesday - November 2026A remote code execution vulnerability affecting Visual Studio Code, with a listed severity score of 9.6 and exploitation assessed as less likely.Read more ↗rapid7 blogNews · Nov 10, 2026Patch Tuesday - November 2026A remote code execution vulnerability in Visual Studio Code, listed with a severity score of 9.6 and an assessment of exploitation being less likely.Read more ↗
+1 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity4Community discussion across Reddit, Mastodon, and other social sources.