> ## Content Index
> Fetch the complete content index at: https://fixstandards.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# VS Code MCP Flaw Rated 9.6: Update to 1.145.3
- URL: https://fixstandards.com/vscode-mcp-elicitation-cve-2026-120779-update/
- Published: 2026-11-15T07:19:27.000Z
- Updated: 2026-11-26T01:20:08.000Z
- Description: A malicious MCP server could make a VS Code notification run commands in one click. How to check your version and update to 1.145.3 or later.
- Author: Harsh Kohli
- Tags: Tech News, Software

If you write code in Visual Studio Code and you've started plugging MCP servers into it, take a minute this weekend to check your version. Microsoft fixed a bug that let a malicious MCP server turn an ordinary-looking VS Code notification into a one-click way to run commands on your machine. Microsoft gave it a CVSS score of 9.6\. There are no reports of anyone using it yet, and the fix is already out, so this is a quick job.

## What happened

On November 10, the VS Code team published security advisory [GHSA-66hq-jw93-462h](https://github.com/microsoft/vscode/security/advisories/GHSA-66hq-jw93-462h?ref=fixstandards.com) on GitHub, tracked as [CVE-2026-120779](https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-120779?ref=fixstandards.com). It covers every VS Code release before 1.145.3, and the fix landed in 1.145.3 the same day. Version 1.146 followed on November 11, so anyone on the current release is already covered.

The bug sits in a corner most people never see. MCP (Model Context Protocol) servers can send an "elicitation" request when they need something from you, like a value for a form or a link to open. Normally VS Code shows that inside a chat session. When there's no chat session open, it falls back to a regular notification in the corner of the window.

That fallback was the problem. As [ZeroPath's patch analysis](https://zeropath.com/blog/cve-2026-120779-vscode-mcp-elicitation-code-injection?ref=fixstandards.com) explains, VS Code notifications turn Markdown-style links into clickable links, and that includes `command:` links that run editor commands. The server's message went straight into that renderer, so a rogue server could dress up a link that, say, types text into your terminal. One click on it and the command runs with your user rights. The fix renders server messages as plain text and rejects requests where the message isn't a simple string.

The details are in [issue #347426](https://github.com/microsoft/vscode/issues/347426?ref=fixstandards.com) on the VS Code repo. Microsoft lists the bug as not publicly disclosed, not exploited, and "Exploitation Less Likely", and it isn't on CISA's exploited-bugs list. Its own severity rating is "Important", while the CVSS score, which uses a different scale, comes out at 9.6 critical.

## Why it matters

Two things stop this from being a drive-by attack. The attacker has to control an MCP server you've connected, and you have to click the link. That's a real barrier. It's also exactly the kind of barrier people step over every day. Installing an MCP server is now as casual as installing a browser extension: copy a config snippet from a README, paste it in, done. And a notification that looks like it came from VS Code itself is easy to trust.

The score is high partly because of scope. A bug in a notification ends up running code on the whole machine, which in a developer's case usually means SSH keys, cloud credentials and access to private repos.

## What to do

1. **Check your version.** On Windows and Linux, open Help, then About. On a Mac, open Code, then About Visual Studio Code. You can also run `code --version` in a terminal. You want 1.145.3 or higher.
2. **Update.** Use Help, then Check for Updates (on a Mac it's under the Code menu), and restart when asked. On Windows, `winget upgrade Microsoft.VisualStudioCode` works too. On Linux, update through the same package manager or Snap you installed it with, or grab a fresh build from the [VS Code updates page](https://code.visualstudio.com/updates?ref=fixstandards.com).
3. **Review your MCP servers.** Open the Command Palette and run `MCP: List Servers`. Remove anything you don't recognise or no longer use, and be wary of servers from unknown accounts.
4. **Don't click links in odd notifications.** Microsoft's own workaround, if you can't update right away, is to stick to trusted MCP servers and not activate links in notifications they produce.
5. **Work machine?** If updates are locked down, ask IT whether 1.145.3 or 1.146 has gone out yet.

## My take

I'd file this under "update today, no drama." It needs a bad server and a click, nobody is known to be using it, and VS Code updates itself for most people anyway. The ones who should pay attention are people who turned off auto-updates, people running VS Code on a shared or managed PC, and anyone who has been happily adding MCP servers from random GitHub repos. If you never touched MCP at all, you're very unlikely to be exposed, but there's no reason to sit on an old build.

If you use an editor built on VS Code's code base rather than VS Code itself, don't assume either way. I haven't seen statements from those makers about this bug, so check their release notes or ask them whether the fix has been pulled in.

The wider point is one I keep running into on this blog. AI tooling in editors is adding new ways in faster than most of us are thinking about them. Earlier I wrote about [a backdoored Claude Code extension](https://fixstandards.com/claude-code-extension-backdoor-check-fix/) and how a stray [AGENTS.md file can hijack an AI agent](https://fixstandards.com/agents-md-downloads-folder-ai-agent-hijack/). This one is the same lesson from a different angle: anything you connect to your editor gets to talk to you through the editor's own UI. Treat an MCP server like an extension with network access, because that's roughly what it is.

A simple habit helps: once a month, list your MCP servers and extensions and delete what you don't use. Fewer moving parts means fewer surprises. And if you want a broader look at which AI assistants are worth plugging into your workflow in the first place, my [comparison of the free ChatGPT, Gemini and Claude plans](https://fixstandards.com/chatgpt-vs-gemini-vs-claude-free-plan/) is a good place to start. If something on your PC already feels wrong, run through my [step-by-step PC malware check](https://fixstandards.com/nikke-pc-launcher-malware-check-clean/) before you patch.

*Sources: VS Code security advisory GHSA-66hq-jw93-462h and issue #347426 (November 10, 2026), Microsoft Security Update Guide entry for CVE-2026-120779, ENISA EUVD-2026-122260, ZeroPath patch analysis, VS Code 1.146 release notes.*