Skip to content

Image: embracethered.com · rights & removal

Executive Summary

A vulnerability allowing Remote Code Execution (RCE) was discovered in Visual Studio Copilot and SQL Server Management Studio (SSMS), stemming from a flaw in the shared `Microsoft.VisualStudio.Copilot.Core.dll`. The root cause is identified as a path validation bypass exploiting how Windows normalizes filenames ending with an ASCII period (`.`). Specifically, inputs like `settings.json.` pass initial checks but are written to by the underlying OS layer as `settings.json`, enabling unauthorized modifications of configuration files, including MCP server settings and VS tooling paths. The vulnerability impacts older versions, such as Visual Studio 2022, and Microsoft has released a patch addressing this issue across both IDEs.

Facts Only

Copilot in Visual Studio and SSMS suffers from an Important severity Remote Code Execution vulnerability (CVE-2026-103572).
The root cause is a path validation bypass in `Microsoft.VisualStudio.Copilot.Core.dll`.
Exploitation involves using filenames ending with a trailing dot (e.g., `settings.json.`) to circumvent protections.
The vulnerability allows writing to configuration files, enabling arbitrary command execution.
Both Visual Studio and SQL Server Management Studio are affected; older versions including VS 2022 are vulnerable.
A demonstration showed hijacking the MAI-Code-1-Flash model to execute `calc.exe` via a manipulated ripgrep path setting in VS.
Exploits can create/modify `.mcp.json` files to inject malicious commands into MCP servers within either IDE.
The fix involved adding a call to GetFullPath, which normalizes the filename by removing trailing dots.
Disclosure followed a timeline involving reporting on August 4, 2026, and the patch release on October 13, 2026.

Full Take

The core narrative describes a highly technical vulnerability where filesystem quirks—specifically Windows path normalization behavior regarding trailing dots—intersect with AI agent sandboxing. The strong claim is that a seemingly minor character artifact (`.`) can translate into total system control via an application's trusted execution boundary. This exposes the assumption that security controls are foolproof when dealing with layers of abstraction (application logic vs. OS kernel handling).
The pattern here leans toward **ARC-0024 Ambiguity** and **ARC-0011 Systemic**. The ambiguity lies in defining "trusted boundaries" when underlying system mechanics (like NTFS) process input differently than the application code expects, suggesting that digital trust must always be grounded in the lowest common denominator of execution environments. Furthermore, the incident echoes a systemic challenge: security controls built around sophisticated agents often overlook baseline operating system behaviors, treating complex logic as sufficient defense against simple syntactic errors. The costs are clear—potential data exfiltration or arbitrary command execution for millions of enterprise users—while the benefits flow to those who discover and report such weaknesses.
Counterstrike Scan: A coordinated influence campaign might weaponize this narrative by releasing an over-dramatized account of the discovery, emphasizing "AI is inherently insecure" without detailing the filesystem mechanics, thereby manufacturing fear to drive immediate platform divestment or adoption of overly cautious security stacks. This content maintains high technical rigor but uses the high stakes of RCE as a motivational vector against development practices generally.
Autonomy check: No autonomy signals.

From the original · Embrace The Red

2026-103572) A . is all you need! Today Microsoft shipped the patch for a vulnerability in Visual Studio Copilot that I reported in August.
Read the full story at embracethered.com

Sentinel unavailable

The automated check of the source article's wording did not complete, so no result is shown.

This looks only at the wording of the original source article, not at this page's AI-written sections. A small local AI model made this estimate. It has not been checked against known human and machine texts, so treat it as provisional. It cannot show who wrote an article.

Visual Studio Copilot and SSMS Remote Code Execution (CVE | Huntaegis