Visual Studio Copilot and SQL Server Management Studio checked whether an AI-assisted file-edit request targeted protected settings by comparing the apparent path name. In conventional Windows API access, settings.json. resolves to settings.json. A trailing-dot alternative therefore passed a protected-name check and subsequently wrote the guarded file. The…
Inspect the ClaimsCase · DiggingBeagle record
Visual Studio Copilot protected-file checks could be bypassed using trailing-dot names
CVE-2026-103572 permitted agent-influenced Windows file edits to rewrite protected MCP or IDE settings using a trailing-dot pathname alias, then execute configured commands.
Evidence-bound research; no independent field exploitation, victim population or production impact is asserted beyond the cited source.
Assessment profile
Assessment method- Setting
- research demonstration
- Exploitation
- demonstrated
- Evidence
- Grade C
- Remediation
- fixed reported
- AI role
- AGAINST AI
Basis and provenance
The existing canonical source attributes protected-file alias demonstrations and an October 13 Microsoft patch to a researcher. The original page was inaccessible during this run, so the exact correction and complete affected product matrix remain unverified here. Impact remains ungraded because a comparable, verified realized-loss or deployment-population measure is unavailable.
Assessed Oct 14, 2026 using diggingbeagle.assessment/1.
Evidence basis: CLM-CP6-VISUAL-STUDIO-ALIAS-1 · CLM-CP6-VISUAL-STUDIO-ALIAS-2 · Visual Studio Copilot and SSMS RCE via trailing-dot protected-file alias, CVE-2026-103572
At a glance
No field exploitation or reproducible regression test against every patched Visual Studio and SSMS build was established.
Limits and uncertaintyFull account
Visual Studio Copilot and SQL Server Management Studio checked whether an AI-assisted file-edit request targeted protected settings by comparing the apparent path name. In conventional Windows API access, settings.json. resolves to settings.json. A trailing-dot alternative therefore passed a protected-name check and subsequently wrote the guarded file. The researcher demonstrated that a manipulated agent can add a command to an MCP server configuration and arrange for it to be launched; a Visual Studio settings alias could also change the ripgrep executable path.
This is an AI-agent tool boundary failure rather than a finding that all Windows repositories can remotely execute commands. The reported indirect prompt-injection chain requires an adversary influencing an AI agent workflow; the vulnerable file operation and later tool/config consumption provide the code execution. A Microsoft patch was issued October 13, and the researcher examined use of path normalization in the correction. Complete affected version and SSMS deployment matrices require separate verification.
The important identity mismatch is between the string approved by the agent file-edit tool and the path actually opened by Windows. A trailing dot can appear to change a protected filename for a comparison while still resolving to that protected file for the write. Once an agent changes MCP or executable-path configuration, later trusted product behavior can execute the modified setting. This threat model requires control over what the agent writes; it is distinct from the startup lookup of git.exe in Claude Desktop, where opening a repository can already be sufficient.
Timeline
- Oct 13, 2026disclosure
Public disclosure
Claims & evidence
CLM-CP6-VISUAL-STUDIO-ALIAS-1A Windows path ending in a dot bypassed Copilot file-edit protected-name checks while resolving to the actual sensitive settings file during write.supported
Basis: reported finding
- supportsVisual Studio Copilot and SSMS RCE via trailing-dot protected-file alias, CVE-2026-103572primary disclosure
The Root Cause: A File Path Validation Bypass; Spot the Defect
CLM-CP6-VISUAL-STUDIO-ALIAS-2The researcher demonstrated indirect-prompt-injection command execution via MCP config and a Visual Studio ripgrep setting; Microsoft issued an October 13 patch.supported
Basis: reported finding
- supportsVisual Studio Copilot and SSMS RCE via trailing-dot protected-file alias, CVE-2026-103572primary disclosure
Attack Chains and Exploit Demos; Analyzing the Fix
Controls and mitigations
- Apply vendor patches to Visual Studio and SSMS; canonicalize paths before protected-path authorization and do not let agent edits alter executable tool settings.
Unknowns and contradictions
- No field exploitation or reproducible regression test against every patched Visual Studio and SSMS build was established.
Sources and citation
Material revision history
- Oct 14, 2026 · Canonical change recorded · new in release · revision 147