Skip to content
MediumNews

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

Published
Record updated
View JSON

Summary

Microsoft patched a Remote Code Execution vulnerability in Visual Studio Copilot, reported by the researcher in August and classified as Important severity. The flaw sits in Microsoft.VisualStudio.Copilot.Core.dll and affects Copilot in Visual Studio and SQL Server Management Studio, which share code. A trailing dot in a filename passes the path validation check in EditsFunctionHandler.GetEditConfirmationTypeAsync, but Windows strips the dot on write, letting Copilot modify protected MCP and settings files and achieve arbitrary command execution.

Mitigation

Patch released by Microsoft for the Visual Studio Copilot and SSMS vulnerability.