Skip to content
microsoft/vscode·Indexed by this site · Originally published· Event →

Remote code execution vulnerability in the VS Code MCP Elicitation notification path (CVE-2026-120779)

Remote Code Execution via MCP Elicitation Notifications

AI summary

Microsoft disclosed a remote code execution vulnerability (GHSA-66hq-jw93-462h, CVE-2026-120779) in versions of VS Code before 1.145.3, in the fallback notification path for MCP Elicitation requests: server-controlled notification content can be parsed as an interactive command link, and a malicious MCP server can trigger command execution after the user clicks. An attacker needs to control a connected MCP server and induce the user to click a malicious link in a notification. Version 1.145.3 has fixed it by rendering Elicitation messages as plain text and validating the request payload before display. Temporary mitigations are to connect only to trusted MCP servers and not to activate links in notifications produced by untrusted servers.

Read originalgithub.com