Skip to content
EventPast event

VS Code workspace configuration prototype pollution vulnerability can bypass workspace trust

1 reports1 reporting sourcesLatest report

Start here

AI overview

VS Code versions 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. An attacker needs to induce the user to open a malicious workspace. The vulnerability is fixed in 1.145.3.

Generated by AI from reports · Updated 18 days ago

Progress timeline

Nov 10
  1. microsoft/vscode
    VS Code workspace configuration prototype pollution vulnerability can bypass workspace trust

    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.