Visual Studio Tools for Applications and SQL Server Management Studio Remote Code Execution Vulnerability (CVE-2026-103572)
A code injection flaw in Visual Studio Tools for Applications and SQL Server Management Studio lets an unauthorised attacker run code over the network. The text says a malicious prompt delivered through Copilot can coerce the system into executing attacker-controlled instructions, escalating to remote code execution.
Description
Improper control of generation of code ('code injection') in Visual Studio Tools for Applications and SQL Server Management Studio allows an unauthorized attacker to execute code over a network.
FAQ
How could an attacker exploit this vulnerability? The AV:N rating indicates the vulnerability is exploitable over the network, meaning an attacker can deliver a malicious prompt remotely without prior access, while UI:R means a user must interact with Copilot for exploitation to occur. Due to prompt injection, the system is coerced into executing attacker-controlled instructions, which can escalate into remote code execution (RCE) when the compromised prompt causes backend components or integrated tools to run unintended commands.
Visual Studio Tools for Applications and SQL Server Management Studio
Visual Studio Tools for Applications and SQL Server Management Studio
Microsoft
Microsoft
Customer Action Required
Yes
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely improper neutralisation of untrusted prompt input, so attacker-controlled instructions reach code-generation and execution paths.
Impact
An attacker could execute code over the network, but only if a user interacts with Copilot, so exploitation depends on that interaction.
What the attacker needed
Attacker can deliver a prompt remotely; victim interacts with Copilot
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
This is a flaw where a program builds and runs code from input it should not trust. Here the input is a prompt given to an AI assistant called Copilot, and a crafted prompt can make the assistant pass instructions that the underlying tools then run as commands. The result is that someone else's code runs on the machine, which is called remote code execution.
What is AI / LLM?
Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.