MOSIR
No. 16 · Free Published by MOSIR

No. 16 · Nov 5, 2026 · Security & Privacy Watch

Microsoft fixes a Copilot flaw that let a trailing dot rewrite its MCP config

CVE-2026-103572 let Copilot in Visual Studio and SQL Server Management Studio write its own .mcp.json by adding a trailing dot to the filename, leading to code execution. A patch is out.

By the Local Intelligence Wire desk · Wimberley, Texas ·

Adversa AI's Nov. 2 roundup describes CVE-2026-103572, which Microsoft rated Important. Copilot blocked edits to its own MCP configuration file, but the check missed the same name with a trailing dot, which Windows treats as the same file. A prompt hidden in a repository could therefore make Copilot add an MCP server of the attacker's choosing and run commands. The flaw sits in a shared Copilot library that also ships in SQL Server Management Studio and Visual Studio 2022.

The same roundup lists issues that got no CVE: an opencode flaw fixed quietly in 1.18.33, and a Copilot CLI file-leak chain that GitHub declined to treat as a vulnerability.

Why it mattersAgent configuration files decide which tools an AI can call. Any path that lets the agent edit them turns a prompt injection into code execution.

For consultantsPatch SQL Server Management Studio and older Visual Studio installs on client machines, not only the main IDE.

Sources

Read the full Nov 5, 2026 edition