VS Code 1.145.3 fixes vulnerability allowing command execution via MCP notification links (CVE-2026-120779)
CVE-2026-120779 Visual Studio Codeの対応方法 | 脆弱性対応ウォッチ
Microsoft fixed CVE-2026-120779 in VS Code 1.145.3, released on November 10, 2026: in versions 1.145.2 and earlier, in an alternate path for displaying MCP server elicitation (requesting input from the user) via notifications, strings sent by the server were parsed as VS Code command links, so a malicious MCP server could use a crafted notification to induce a user to click and then execute commands. Microsoft (CNA) classified the vulnerability as code injection, stating that an unauthorized attacker could execute code over the network, with a CVSS 3.1 score of 9.6 (Critical); its assessment considered exploit code not yet confirmed, and as of 2026-11-17 it was not listed in CISA KEV. According to VS Code GitHub issue #347426, the attack prerequisite is that the attacker controls the MCP server the user is connected to and induces the user to click a link in a notification.