VS Code workspace configuration prototype pollution vulnerability can bypass workspace trust
Workspace Trust Bypass via Prototype Pollution in Workspace Configuration
AI summary
Versions of VS Code before 1.145.3 contain a workspace trust bypass vulnerability (CVE-2026-121662): a specially crafted __proto__ key in workspace configuration pollutes the shared JavaScript object prototype during merging, causing an untrusted workspace in restricted mode to automatically start its MCP server without a user trust decision. The attacker must induce the user to open a malicious workspace; no other interaction is required. The vulnerability is fixed in 1.145.3, and users should avoid opening workspaces from untrusted sources.