Skip to content
Misconfiguration Advisory Intermediate CVE-2026-114171

Visual Studio Code Security Feature Bypass Vulnerability (CVE-2026-114171)

Visual Studio Code's installation preview for MCP servers could omit security-relevant details, so a crafted link could convince a user to install a malicious server. The installed server could then execute code with the user's permissions.

n0paew Follow with NavSec

Originally disclosed on Microsoft

High 8.8 View original

Description

User interface (ui) misrepresentation of critical information in Visual Studio Code allows an unauthorized attacker to bypass a security feature over a network.

FAQ

How could an attacker exploit this vulnerability? An attacker could convince a user to install an MCP server through a specially crafted link. The installation preview could omit security-relevant details, allowing the installed server to execute code with the user's permissions. User interaction is required.

Visual Studio Code

Visual Studio Code

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by n0paew. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the installation preview did not fully display security-relevant information about the MCP server being installed, so the user could not make an informed decision.

Impact

An attacker could convince a user to install a malicious MCP server that then executes code with the user's permissions; user interaction is required.

What the attacker needed

Victim clicks a crafted link; victim approves MCP server install

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Visual Studio Code is a popular code editor. It can install add-ons called MCP servers, which are programs that run on your computer. The bug meant the editor's preview screen did not always show important safety information about what the add-on would do, so a trick link could get someone to install a harmful add-on that then runs code as that user.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.