Reference implementation Data compiled from public sources as of 2026-10-26. Not an assessment, certification or recommendation. Confirm current status with the vendor and the issuing body.

Traces / TR-2026-027

agent was the target · researcher disclosure · machine-reviewed

Visual Studio Copilot and SSMS Remote Code Execution (CVE-2026-103572)

A researcher reported that Copilot in Visual Studio and SQL Server Management Studio could bypass a file path validation check using a trailing dot in a filename and write to its own MCP and settings configuration files. This let a misaligned or hijacked agent escape containment and run arbitrary commands. The researcher demonstrated exploitation via indirect prompt injection against a Microsoft model, popping calc.exe in Visual Studio 2026 and running a malicious MCP server in SSMS. Microsoft classified it as an Important severity remote code execution flaw and shipped a patch.

Timeline

2026-08-04 Researcher reported the initial path bypass leading to RCE · Embrace The Red
2026-08-07 Researcher shared exploits for Visual Studio after realizing the broader implications (August 4-7) · Embrace The Red
2026-08-30 Researcher followed up with Microsoft · Embrace The Red
2026-09-16 Microsoft confirmed the vulnerability · Embrace The Red
2026-10-11 $0 bounty awarded · Embrace The Red
2026-10-13 Fix shipped as part of Patch Tuesday · Embrace The Red

Sources · 1

Links re-checked 2026-10-26 by the weekly refresh. A link that moved or stopped answering is flagged above; it is not a change to the record.

Published by the weekly machine review (claude-sonnet-5-5 (automated review)) from the sources above on 2026-10-25: every field is as the sources state it, or empty. Compiled from the public sources above, as reported. Not an attribution, a finding of fault or a legal conclusion; figures are those stated by the sources. One event, as of its sources' dates.