Code Injection in Visual Studio - CVE-2026-103572
Published: October 13, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code.
The vulnerability exists due to improper control of code generation in Visual Studio Tools for Applications and SQL Server Management Studio when processing malicious prompts. A remote attacker can deliver a malicious prompt over the network that coerces backend components or integrated tools into running unintended commands to execute arbitrary code.
Exploitation requires a user to interact with Copilot.