Skip to content
Threat Brief

← All advisories

CVE-2026-63129

High 8.8No known exploitationFix available

mssql-mcp-core: SQL injection in mssql-mcp write tools via unparameterized table names and WHERE clauses

Vendor advisory: GHSA-2m9m-6cr5-9x25

Record last updated

CVSS score

8.8

High on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.6%

Higher than 47% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

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.

Weakness: CWE-89

Patching and mitigation

Patch status
Fix available (source: GitHub Advisory Database)
Fix documented (source date)
Mitigation
None documented
Vendor guidance
github.com (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
ConnorBritainmssql-mcp-core< 0.6.0Not documentedCVE Program
ConnorBritainmssql-mcp-reader< 0.5.0Not documentedCVE Program
ConnorBritainmssql-mcp-server< 0.6.0Not documentedCVE Program
ConnorBritainmssql-mcp-writer< 0.5.0Not documentedCVE Program
npm@connorbritain/mssql-mcp-coreall versions up to and including 0.5.00.6.0GitHub Advisory Database
npm@connorbritain/mssql-mcp-readerall versions up to and including 0.4.20.5.0GitHub Advisory Database
npm@connorbritain/mssql-mcp-serverall versions up to and including 0.5.20.6.0GitHub Advisory Database
npm@connorbritain/mssql-mcp-writerall versions up to and including 0.4.20.5.0GitHub Advisory Database

Timeline

  1. Disclosure

    CVE record published by GitHub_M

    Source: CVE Program (opens in a new tab)

  2. Patch

    Fix documented by GitHub Advisory Database

    Source: GitHub Advisory Database (opens in a new tab)

Vendor guidance and references