SQL Injection in MSSQL MCP Core Library by Connor Britain
CVE-2026-63129
What is CVE-2026-63129?
The mssql-mcp-core library, essential for powering MSSQL MCP servers, is vulnerable to SQL injection attacks due to improper handling of user inputs. Specifically, the library interpolates caller-controlled identifiers and predicates into T-SQL batches without adequate parameterization, exposing critical database operations to exploitation. Functions such as update_data, delete_data, insert_data, and execute_transaction accept unsafe user input, allowing malicious actors to execute unauthorized database actions, manipulate data, or even run operating system commands if the SQL login has sufficient privileges and xp_cmdshell is enabled. Remediation has been implemented in version 0.6.0 for core and server, and version 0.5.0 for reader and writer, effectively addressing these vulnerabilities.
Affected Version(s)
mssql-mcp-core < 0.6.0
mssql-mcp-reader < 0.5.0
mssql-mcp-server < 0.6.0
