Threat Advisory

SQL Injection in MSSQL MCP Core Enables Arbitrary Data Manipulation

Threat: Vulnerability
Targeted Region: Global
Targeted Sector: Technology & IT
Criticality: High
[subscribe_to_unlock_form]

EXECUTIVE SUMMARY:

CVE-2026-63129 with a CVSS score of 8.8 is a SQL injection vulnerability in the mssql-mcp-core package and related npm packages, where several tools build T-SQL by string-interpolating caller-supplied identifiers and predicates directly into statements passed to the node-mssql Request.query batch API. Affected versions are @connorbritain/mssql-mcp-core (npm) versions <= 0.5.0, @connorbritain/mssql-mcp-reader (npm) versions <= 0.4.2, @connorbritain/mssql-mcp-writer (npm) versions <= 0.4.2, and @connorbritain/mssql-mcp-server (npm) versions <= 0.5.2. The flaw affects update_data, delete_data, insert_data, execute_transaction, create_table, create_index, drop_table, and list_databases, because table names, column names, schema identifiers, where clauses, and stateFilter values are not safely parameterized. An attacker who can supply tool arguments through a malicious or compromised MCP client, or through an LLM agent steered by indirect prompt injection, can execute crafted SQL over the network with low privileges. Because queries run before preview and confirmation controls, the attacker can read, modify, or drop arbitrary data, bypass validation and row limits, submit stacked statements, and, with a privileged login and xp_cmdshell enabled, execute operating-system commands. The business impact includes unauthorized data access, corruption or deletion of databases, loss of confidentiality and integrity, and potential compromise of the host environment.

RECOMMENDATIONS:

  • We recommend you to update @connorbritain/mssql-mcp-core to version 0.6.0.
  • We recommend you to update @connorbritain/mssql-mcp-reader to version 0.5.0.
  • We recommend you to update @connorbritain/mssql-mcp-writer to version 0.5.0.
  • We recommend you to update @connorbritain/mssql-mcp-server to version 0.6.0.

REFERENCES:

The following reports contain further technical details:[/subscribe_to_unlock_form]

EXECUTIVE SUMMARY:

CVE-2026-63129 with a CVSS score of 8.8 is a SQL injection vulnerability in the mssql-mcp-core package and related npm packages, where several tools build T-SQL by string-interpolating caller-supplied identifiers and predicates directly into statements passed to the node-mssql Request.query batch API. Affected versions are @connorbritain/mssql-mcp-core (npm) versions <= 0.5.0, @connorbritain/mssql-mcp-reader (npm) versions <= 0.4.2, @connorbritain/mssql-mcp-writer (npm) versions <= 0.4.2, and @connorbritain/mssql-mcp-server (npm) versions <= 0.5.2. The flaw affects update_data, delete_data, insert_data, execute_transaction, create_table, create_index, drop_table, and list_databases, because table names, column names, schema identifiers, where clauses, and stateFilter values are not safely parameterized. An attacker who can supply tool arguments through a malicious or compromised MCP client, or through an LLM agent steered by indirect prompt injection, can execute crafted SQL over the network with low privileges. Because queries run before preview and confirmation controls, the attacker can read, modify, or drop arbitrary data, bypass validation and row limits, submit stacked statements, and, with a privileged login and xp_cmdshell enabled, execute operating-system commands. The business impact includes unauthorized data access, corruption or deletion of databases, loss of confidentiality and integrity, and potential compromise of the host environment.

RECOMMENDATIONS:

  • We recommend you to update @connorbritain/mssql-mcp-core to version 0.6.0.
  • We recommend you to update @connorbritain/mssql-mcp-reader to version 0.5.0.
  • We recommend you to update @connorbritain/mssql-mcp-writer to version 0.5.0.
  • We recommend you to update @connorbritain/mssql-mcp-server to version 0.6.0.

REFERENCES:

The following reports contain further technical details:[emaillocker id="1283"]

[/emaillocker]
crossmenu