Evidence · DiggingBeagle record
MSSQL MCP advisory: SQL authorization and tool-boundary failure
Reviewed GHSA-2m9m-6cr5-9x25 first published July 8, 2026 and updated November 19. The query path interpolated tableName, whereClause and read-only stateFilter; preview queries could execute stacked statements before confirmation. Affected versions: core <=0.5.0 and server <=0.5.2 fixed in 0.6.0; reader and writer <=0.4.2 fixed in 0.5.0. OS execution additionally needs elevated SQL rights and xp_cmdshell.
- Published
- Jul 8, 2026
- Source role
- primary disclosure
Evidence record
Claim-level citations (2)
- supportsMSSQL MCP SQL injection bypassed preview confirmation through raw table and filter inputs: GHSA-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.
GHSA-2m9m-6cr5-9x25, Description, affected tools and inputs, Patch and Workarounds
- supportsMSSQL MCP SQL injection bypassed preview confirmation through raw table and filter inputs: The 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.
GHSA-2m9m-6cr5-9x25, Affected tools and inputs, Impact and Patch