A trailing dot bypasses Copilot's path validation, yielding RCE in Visual Studio and SSMS (CVE-2026-103572)

wunderwuzzi23 · x · 2026-10-14

Security researcher wunderwuzzi disclosed CVE-2026-103572, an Important-severity RCE in Visual Studio Copilot patched by Microsoft on Oct 13. A trailing dot in a config filename bypasses Copilot's path validation, letting it write its own settings files, escape containment, and achieve arbitrary command execution — also exploitable via indirect prompt injection. The vulnerable shared DLL (Microsoft.VisualStudio.Copilot.Core.dll) affects both Visual Studio 2026 and SSMS, including older VS 2022 installs. Patch now.

Related event: Visual Studio Copilot RCE Flaw Patched by Microsoft(4 posts)→

Original post →

More from coding & agent

coding & agent channel →