Skip to main content
Mallory
HighVulnerability

CVE-2026-103572: Copilot path-validation bypass leading to RCE in Visual Studio and SSMS

Published Oct 13, 2026 · Updated 1 day ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days2 mentions · peak 1 in a dayToday
CVSS8.8High · v3.1
EPSS0.88%57th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Microsoft Corporation
IdentifiersCVE-2026-103572CWE-94 · Improper Control of Generation of…

CVE-2026-103572 is a code injection vulnerability affecting Copilot in Microsoft Visual Studio and SQL Server Management Studio (SSMS). Protected-file validation in EditsFunctionHandler.GetEditConfirmationTypeAsync evaluates destination paths before Windows path normalization. Appending a trailing period can therefore bypass restrictions while the subsequent filesystem operation targets the protected configuration file. Indirect prompt injection through attacker-controlled project content or other Copilot inputs can induce these unauthorized writes. Modifying Model Context Protocol (MCP) server configuration or Visual Studio's search-tool executable setting can subsequently cause arbitrary command execution with the developer's privileges. Microsoft classified the vulnerability as Important, with a CVSS v3.1 base score of 8.8, and released a fix on October 13, 2026.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation compromises the confidentiality and integrity of resources accessible to the developer account by executing attacker-controlled commands within its security context. The vulnerability bypasses Copilot's protected-configuration checks, allowing malicious MCP server activation or substitution of the executable used for Copilot searches. Execution uses the developer's existing privileges; a separate elevation-of-privilege capability is not established.

Mitigation

If you can’t patch tonight, do this now.

Enforce workspace trust before allowing Copilot to process external projects. Disable unprompted tool execution and require explicit approval for MCP commands, reviewing the executable and arguments rather than relying solely on the configured server name. Treat repository content, database schema text, and MCP responses as untrusted inputs. Use AppLocker or Windows Defender Application Control to restrict unauthorized executable launches. Monitor IDE-originated changes to MCP and application configuration, and investigate unexpected command interpreters or other child processes launched by Visual Studio or SSMS. These controls reduce exposure but do not replace patching.

Remediation

Patch, then assume compromise.

Apply the applicable Microsoft security updates released on October 13, 2026, or superseding updates, to affected Visual Studio, Visual Studio Tools for Applications, and SSMS installations. The correction introduces path normalization before filesystem access-policy evaluation. Select the update for each installed product and servicing branch using Microsoft's vulnerability-specific update guidance; a complete, consistently established set of fixed builds is not available.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Microsoft CorporationMicrosoft Visual Studio 2026 Version 18.10application
Microsoft CorporationVisual Studio 2022application
FAQ

Frequently asked questions

Is CVE-2026-103572 exploited in the wild?
As of Nov 27, 2026, Mallory has no reports of CVE-2026-103572 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-103572?
As of Nov 27, 2026, Mallory has found no public exploit for CVE-2026-103572.
Is there a patch for CVE-2026-103572?
Apply the applicable Microsoft security updates released on October 13, 2026, or superseding updates, to affected Visual Studio, Visual Studio Tools for Applications, and SSMS installations. The correction introduces path normalization before filesystem access-policy evaluation.
What products are affected by CVE-2026-103572?
Microsoft Corporation Microsoft Visual Studio 2026 Version 18.10 and Microsoft Corporation Visual Studio 2022.
How severe is CVE-2026-103572?
CVE-2026-103572 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 0.88% (57th percentile) as of Nov 27, 2026.
Activity feed

Recent activity

15 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
sh3llc0d3 blogNews · Nov 3, 2026Microsoft Visual Studio and SSMS Copilot Core RC | ShellcodeThe content describes a high-severity remote code execution vulnerability in Microsoft.VisualStudio.Copilot.Core.dll, shared by GitHub Copilot integrations in Visual Studio and SSMS. Path validation occurs before Win32 normalization removes trailing dots or spaces, allowing protected filenames to evade string-based checks. Indirect prompt injection in untrusted repository content or SQL schemas can induce the AI agent to overwrite MCP configuration files or write executable payloads to startup directories, potentially executing code with the developer's privileges. The content provides an illustrative exploitation payload and reports that updates enforce canonical path resolution before access-policy checks; these claims are not independently verified here.Read more ↗tenable nessus pluginsNews · Oct 15, 2026Security Updates for Microsoft Visual Studio Products 17.14.42... | Tenable®UnknownRead more ↗embrace the red blogNews · Oct 13, 2026Visual Studio Copilot and SSMS Remote Code Execution (CVE-2026-103572) · Embrace The RedAn Important-severity remote code execution vulnerability, reported with CVSS 8.8, in the shared Microsoft.VisualStudio.Copilot.Core.dll component affects Copilot in Visual Studio and SQL Server Management Studio. Protected-filename checks fail to account for Windows removing trailing dots, allowing a hijacked AI agent to overwrite sensitive configuration files. Additional path traversal weaknesses permit access outside trusted directories. An attacker can use indirect prompt injection to modify MCP server configuration or Visual Studio's ripgrep executable path, causing arbitrary command execution. The researcher demonstrated working proof-of-concept exploits. Microsoft shipped a fix on October 13, 2026, adding GetFullPath normalization to address the trailing-dot bypass and potentially some reported traversal variants.Read more ↗ghsa syntheticNews · Oct 13, 2026GHSA-9hq7-r47p-v8h6A code injection vulnerability affecting Visual Studio Tools for Applications and SQL Server Management Studio that allows an unauthorized attacker to execute code over a network.Read more ↗
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity11Community discussion across Reddit, Mastodon, and other social sources.