mssql-mcp-core: SQL injection in mssql-mcp write tools via unparameterized table names and WHERE clauses
Summary
| CVE | CVE-2026-63129 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-18 20:19:10 UTC |
| Updated | 2026-11-23 22:20:43 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 8.8 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.005530000 probability, percentile 0.471130000 (date 2026-11-23)
Problem Types: CWE-89 | CWE-89 CWE-89: Improper Neutralization of Special Elements used in an SQL Command
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 8.8 | HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 8.8 | HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | ConnorBritain | Mssql-mcp-core | affected < 0.6.0 | Not specified |
| CNA | ConnorBritain | Mssql-mcp-reader | affected < 0.5.0 | Not specified |
| CNA | ConnorBritain | Mssql-mcp-writer | affected < 0.5.0 | Not specified |
| CNA | ConnorBritain | Mssql-mcp-server | affected < 0.6.0 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/ConnorBritain/mssql-mcp-core/security/advisories/GHSA-2m9m-6c... | [email protected] | github.com | |
| github.com/ConnorBritain/mssql-mcp-core/commit/a9727f83768598e4fdbddfbc7... | [email protected] | github.com | |
| github.com/ConnorBritain/mssql-mcp-core/pull/1 | [email protected] | github.com | |
| github.com/ConnorBritain/mssql-mcp-core/commit/227e2efc4e3311c477b7ae509... | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.