Incorrect Privilege Assignment in Visual Studio Code - CVE-2026-102851
Published: October 13, 2026
Vulnerability details
The vulnerability allows a local user to bypass the per-server sandbox policy.
The vulnerability exists due to incorrect privilege assignment in Visual Studio Code's sandboxed MCP server feature when running an attacker-controlled sandboxed server alongside another sandboxed server. A local user can convince a user to add and start a specially crafted server that writes into the other server's directory to bypass the per-server sandbox policy.
Successful exploitation requires specific conditions, such as particular protocol settings or configurations.