An MCP service translates agent calls into database operations, often under a credential that is broader than the agent’s immediate task. The MSSQL advisory identifies a defect in the boundary between exposed tool parameters and database access. A caller’s effective privileges still depend on the configured SQL account and whether the vulnerable MCP server…
Inspect the ClaimsCase · DiggingBeagle record
MSSQL MCP SQL injection bypassed preview confirmation through raw table and filter inputs
Unparameterized SQL identifiers and WHERE clauses enabled stacked database statements before write confirmation, with OS execution conditional on SQL credentials and xp_cmdshell.
Published by DiggingBeagle:
Public disclosure: Jul 8, 2026
Affected versions of @connorbritain/mssql-mcp-core, -reader, -server and -writer with tool invocation authority and database credentials.
Assessment profile
Assessment method- Setting
- research demonstration
- Exploitation
- demonstrated
- Evidence
- Grade B
- Remediation
- patch available
- AI role
- AGAINST AI
Basis and provenance
Detailed advisory documents pre-confirmation SQL execution and fixed package versions; database privilege scope governs outcomes. Impact band is unassigned because the cited material does not establish a calibrated real-world loss or affected-population denominator.
Assessed Nov 20, 2026 using diggingbeagle.assessment/1.
Evidence basis: CLM-2026-NOV20-MSSQL · CLM-2026-NOV20-MSSQL-ENRICH · MSSQL MCP advisory: SQL authorization and tool-boundary failure
At a glance
The security invariant is simpler than a natural-language tool description: validate every query or mutation independently of model intent and enforce least-privilege permissions at the database itself.
Read the implicationsNo confirmed production database compromise or credential theft is in the cited disclosure. Host code execution requires elevated SQL permissions and xp_cmdshell to be enabled.
Limits and uncertaintyFull account
An MCP service translates agent calls into database operations, often under a credential that is broader than the agent’s immediate task. The MSSQL advisory identifies a defect in the boundary between exposed tool parameters and database access. A caller’s effective privileges still depend on the configured SQL account and whether the vulnerable MCP server is reachable.
The initial Radar recovery contains incomplete release details for the individual core and server components, so the exact version matrix must be read from the vendor advisory before an operator claims a particular deployment is fixed. The advisory records a vulnerability, not a verified database compromise or a universal network-reachable bypass.
The security invariant is simpler than a natural-language tool description: validate every query or mutation independently of model intent and enforce least-privilege permissions at the database itself.
The vulnerable server submitted multi-statement T-SQL batches while promising later human confirmation. Any side effect triggered by the preview query had already happened before that confirmation could deny it. The fix requires validated identifiers and structured parameterized filters, while an unprivileged SQL account limits consequences if the tool layer fails.
Mechanism and trust boundary
- 01
A malicious prompt or MCP client supplies SQL syntax inside tableName, whereClause or stateFilter.
- 02
Query execution occurs during preflight or read-only operations before a confirmation can block the effect.
Timeline
- Jul 8, 2026Event type unspecified
Underlying evidence published or disclosed
- Jul 8, 2026disclosure
Public disclosure
Claims & evidence
CLM-2026-NOV20-MSSQLGHSA-2m9m-6cr5-9x25 identifies SQL injection through raw tableName, whereClause and reader stateFilter input; it is fixed in core/server 0.6.0 and reader/writer 0.5.0.supported
Basis: reported finding
- supportsMSSQL MCP advisory: SQL authorization and tool-boundary failureprimary disclosure
GHSA-2m9m-6cr5-9x25, Description, affected tools and inputs, Patch and Workarounds
CLM-2026-NOV20-MSSQL-ENRICHThe MSSQL MCP advisory shows that update/delete row-count and preview queries executed interpolated SQL before the confirmUpdate or confirmDelete gate; even the read-only list_databases stateFilter could pass raw SQL through the reader tier.supported
Basis: reported finding
- supportsMSSQL MCP advisory: SQL authorization and tool-boundary failureprimary disclosure
GHSA-2m9m-6cr5-9x25, Affected tools and inputs, Impact and Patch
Implications
The security invariant is simpler than a natural-language tool description: validate every query or mutation independently of model intent and enforce least-privilege permissions at the database itself.
Controls and mitigations
- Upgrade core/server to 0.6.0 and reader/writer to 0.5.0; enforce least-privileged database roles.
Unknowns and contradictions
- No confirmed production database compromise or credential theft is in the cited disclosure.
- Host code execution requires elevated SQL permissions and xp_cmdshell to be enabled.
Sources and citation
Material revision history
- Nov 20, 2026 · Published version · first publication · revision 269