Code Injection in Visual Studio Code - CVE-2026-120779
Published: November 11, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code with the user's permissions.
The vulnerability exists due to improper control of code generation in Visual Studio Code when interacting with an attacker-controlled remote MCP server. A remote attacker can convince a user to connect Visual Studio Code to that server and click a specially crafted link in a notification to execute arbitrary code with the user's permissions.