highresolved
VS Code MCP elicitation notification allows command execution
A malicious MCP server could put a command link into a fallback notification. A user who activated that notification could trigger command execution; Microsoft fixed the handling in VS Code 1.145.3.
The issue affected VS Code releases before 1.145.3. It required a connected attacker-controlled MCP server and a user clicking the crafted notification.
The patch treats the server message as plain text and validates the payload. This is a disclosed vulnerability, not a confirmed exploitation campaign.
Takeaway
Upgrade VS Code and review which MCP servers are connected. Treat server-originated notifications as untrusted input.
Sources
mcpvscodeCVE-2026-120779