Advisory · CVE-2026-103572
Code injection in Visual Studio Tools for Applications can run code
Visual Studio Tools for Applications has a code injection flaw a remote attacker can use to execute code when a victim interacts with crafted content. Microsoft rates it CVSS 3.1 8.8.
- Vendor
- Microsoft
- Product
- Visual Studio
- Identifier / CWE
- CVE-2026-103572
CWE-94 - Action timing
- Immediate
Explain it like I’m five
Opening the wrong project content can let an attacker inject code into tooling that runs with the developer's rights.
- 01Attacker engages the component
A remote or authorized attacker sends crafted content or requests to Visual Studio.
- 02Weakness triggers
The component mishandles the input and the flaw takes effect.
- 03Impact lands
The attacker gains the execution, elevation, or access the flaw allows.
What happened
Microsoft disclosed CVE-2026-103572 in its October 2026 update guide: a code injection weakness (CWE-94) in Visual Studio Tools for Applications and Visual Studio, including Visual Studio 2026 builds before 18.10.4 in Microsoft’s affected data.
Microsoft lists the affected releases and their patched build thresholds in its update guide. Apply the October 2026 security updates for your release rather than relying on a version guess here.
What to do
- Inventory every Visual Studio deployment, including test, training, and individually managed instances.
- Apply the vendor fix or upgrade exactly as directed in the linked vendor bulletin or advisory.
- Restrict network access to Visual Studio while remediation is underway, especially for internet-facing instances.
- Review application and server logs for crashes or unexpected execution when opening solutions from new sources.
- Check for accounts, content, or configuration created outside normal change processes, and rotate exposed credentials where access cannot be ruled out.
- Verify the deployed version or patch level after remediation.
Management note
Keep Visual Studio on the same patch cadence as the operating system. The IDE is part of the supply chain.