CVE-2026-63129

8.8High

Published 18 Nov 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

8.8CVSS

High

0CVSS v3.110

Attack vector
Network
Complexity
Low
Privileges
Low
User action
None
Impact
Full C/I/A compromise
Weakness
CWE-89

What an attacker gets

Authenticated attackers can execute arbitrary SQL commands or OS commands if xp_cmdshell is enabled. This allows for full database compromise, data destruction, or remote code execution.

Root cause

The library improperly interpolates user-controlled identifiers and predicates directly into T-SQL batches instead of using parameterized queries.

Affected versions

  • mssql-mcp-core core and server prior to 0.6.0
  • reader and writer prior to 0.5.0

CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Fix & remediation

Upgrade core and server to 0.6.0 and reader and writer to 0.5.0. Disable xp_cmdshell on the SQL server instance immediately to mitigate the risk of OS command execution.

AI-suggested. Run it in staging first and check it against the vendor advisory. Why?

NVD description

mssql-mcp-core is the shared library that powers MSSQL MCP servers. Prior to core and server 0.6.0 and reader and writer 0.5.0, multiple database tools interpolate caller-controlled identifiers and predicates into T-SQL batches passed to Request.query() while parameterizing only data values. update_data, delete_data, insert_data, execute_transaction, create_table, create_index, and drop_table accept unsafe tableName, column, index, schema, or free-form whereClause input, while reader-tier list_databases interpolates stateFilter without runtime allowlist enforcement. Row-count and preview queries execute before confirmUpdate or confirmDelete, allowing malicious arguments to bypass confirmation and maxRows controls and execute stacked DDL or DML, read or destroy data, and potentially run operating-system commands when the SQL login is privileged and xp_cmdshell is enabled. This issue is fixed in core and server version 0.6.0 and reader and writer version 0.5.0.

References

Source: nvd.nist.gov/vuln/detail/CVE-2026-63129