Skip to content
Johann Rehberger· @wunderwuzzi23 · X·Indexed by this site · Originally published· Event →

Copilot for Visual Studio and SSMS have an RCE vulnerability; adding a period at the end of a configuration file name can bypass security controls

AI summary

Johann Rehberger disclosed a remote code execution vulnerability in Copilot for Visual Studio and SQL Server Management Studio, where adding a period at the end of a configuration file name can bypass Copilot's security controls, leading to RCE. He provided this explanation on X and linked to a detailed analysis on embracethered.com.

Full text · Original

A . is all you need! 🔥

RCE in Copilot for Visual Studio and SSMS.

A trailing dot added to a config filename bypasses Copilot's security controls, leading to remote code execution in Visual Studio and SQL Server Management Studio.

https://embracethered.com/blog/posts/2026/visual-studio-copilot-remote-code-execution/

Source: Johann Rehberger · x.com