CVE-2026-63129
High 8.8No known exploitationFix availablemssql-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
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 47% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
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
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| ConnorBritain | mssql-mcp-core | < 0.6.0 | Not documented | CVE Program |
| ConnorBritain | mssql-mcp-reader | < 0.5.0 | Not documented | CVE Program |
| ConnorBritain | mssql-mcp-server | < 0.6.0 | Not documented | CVE Program |
| ConnorBritain | mssql-mcp-writer | < 0.5.0 | Not documented | CVE Program |
| npm | @connorbritain/mssql-mcp-core | all versions up to and including 0.5.0 | 0.6.0 | GitHub Advisory Database |
| npm | @connorbritain/mssql-mcp-reader | all versions up to and including 0.4.2 | 0.5.0 | GitHub Advisory Database |
| npm | @connorbritain/mssql-mcp-server | all versions up to and including 0.5.2 | 0.6.0 | GitHub Advisory Database |
| npm | @connorbritain/mssql-mcp-writer | all versions up to and including 0.4.2 | 0.5.0 | GitHub Advisory Database |
Timeline
Disclosure
CVE record published by GitHub_M
Source: CVE Program (opens in a new tab)
Patch
Fix documented by GitHub Advisory Database
Vendor guidance and references
- https://github.com/ConnorBritain/mssql-mcp-core/commit/227e2efc4e3311c477b7ae509c3ae15437a4f815 (opens in a new tab)x_refsource_misc
- https://github.com/ConnorBritain/mssql-mcp-core/commit/a9727f83768598e4fdbddfbc717ccfebb84ae7af (opens in a new tab)x_refsource_misc
- https://github.com/ConnorBritain/mssql-mcp-core/pull/1 (opens in a new tab)x_refsource_misc
- https://github.com/ConnorBritain/mssql-mcp-core/security/advisories/GHSA-2m9m-6cr5-9x25 (opens in a new tab)x_refsource_confirm
- GitHub Advisory GHSA-2m9m-6cr5-9x25 (opens in a new tab)github-advisory