Microsoft says an unauthenticated attacker controlling a remote MCP server could persuade a user to connect the editor and click a crafted notification link. Successful exploitation could run code with that user's permissions.Microsoft published the issue on 10 November 2026 and lists Visual Studio Code build 1.145.3 as the security update. Its CNA record identifies releases from 1.0.0 up to, but excluding, 1.145.3 as affected. Teams should compare the installed build with that boundary before scheduling the update.
What it allows
How Does CVE-2026-120779 Work?
Microsoft classifies the flaw as improper control of generated code. Its advisory describes a remote MCP server controlled by an unauthenticated attacker. The attacker would first convince a user to connect Visual Studio Code to that server, then persuade the user to click a crafted notification link.
Microsoft says the resulting code execution would use the user's permissions. The published advisory does not describe the internal validation failure, so this profile does not infer a deeper mechanism. Review connected MCP servers and user permissions while evaluating the exposure.
For inventory and prioritization, record the affected editor build in a vulnerability intelligence platform review. The network attack vector does not remove the required user interaction: Microsoft's CVSS 3.1 vector marks UI:R and PR:N. The score describes potential impact, not a confirmed attack.
What Do Microsoft and CISA Say About Exploitation?
At its 10 November publication, Microsoft marked the issue as not publicly disclosed and not exploited. That is Microsoft's dated assessment, not a guarantee about later activity. CISA's 30 November 2026 KEV catalog did not list CVE-2026-120779.
A GitHub repository-name search on 1 December 2026 returned 1 public repository named with this CVE. The unit is a matching repository, not a verified proof of concept or an incident. Treat that count as a research signal while prioritizing the vendor's fixed build.
Who is affected
Version Check
| Release Line | Affected Range | Fixed In |
|---|---|---|
| 1.x | 1.0.0 to before 1.145.3 | 1.145.3 |
For distribution packages and custom builds, check the supplier’s advisory.
Which CVE-2026-120779 Builds Are Affected?
Microsoft's CNA record marks Visual Studio Code versions from 1.0.0 through versions below 1.145.3 as affected. MSRC lists build 1.145.3 in its 10 November security-update row. The record gives one product range; it does not identify a separate platform-specific boundary.
The described scenario requires a user to connect Visual Studio Code to an attacker-controlled remote MCP server and click a crafted notification link. Those conditions are part of the vendor's exploit description. They do not narrow the CNA's stated version range, so check the installed build even when MCP use is not known.
How Should Teams Verify the Update?
Inventory installed Visual Studio Code builds, then install Microsoft build 1.145.3 or a later vendor-confirmed fixed release. After the update, confirm the build reported by the running editor on each managed workstation. Record the result in the vulnerability management process.
Review approved MCP server connections and the permissions of users who work with them. If a team investigates suspicious activity, preserve relevant editor and endpoint records under its incident process. The CISA KEV catalog definition explains why catalog absence is a dated observation rather than proof of safety.
Timeline
- 2026-11-10
Microsoft published the advisory and listed Visual Studio Code build 1.145.3 as the security update.
What to do
-
Inventory editor builds
Identify installed Visual Studio Code builds and the managed users who connect the editor to remote MCP servers. Prioritize versions below 1.145.3.
-
Apply the Microsoft update
Update affected installations to Visual Studio Code 1.145.3 or a later vendor-confirmed fixed build.
-
Verify the running build
After installation, confirm the running editor reports build 1.145.3 or a later vendor-confirmed fixed release. Record the build and update date.
-
Review MCP connections
Check which remote MCP servers users have connected and review endpoint activity when an untrusted connection or notification interaction needs investigation.
What Brandefense can do
- Watch your stack for exploited flaws
Name the vendors and products you run, and Brandefense alerts you when a CVE in them is exploited.
- See CVE-2026-120779 in Brandefense Atlas
The Atlas record of CVE-2026-120779: severity, exploitation status and the sources behind it.
- Vulnerability intelligence platform
Brandefense Vulnerability Intelligence follows which vulnerabilities attackers are using, so your team can patch what is under attack first.
Frequently Asked Questions
Does CVE-2026-120779 require a user to click?
Yes. Microsoft says the user must connect Visual Studio Code to an attacker-controlled remote MCP server and click a crafted notification link.
Which Visual Studio Code build fixes CVE-2026-120779?
MSRC lists build 1.145.3 as the security update. Microsoft's CNA record marks versions below 1.145.3, starting at 1.0.0, as affected.
What permissions could the attacker gain?
Microsoft says successful exploitation could execute code with the permissions of the user who clicked the crafted notification link.
What does Microsoft's exploitation assessment say?
Microsoft marked the issue not exploited at original publication on 10 November 2026. That dated assessment does not establish its current exploitation status.
Sources
- Visual Studio Code Remote Code Execution VulnerabilityMicrosoft Security Response Center
- CVE-2026-120779 Microsoft CNA RecordMicrosoft via CVE.org
- Known Exploited Vulnerabilities CatalogCISA