CVE-2026-63129
mssql-mcp-core: SQL injection in mssql-mcp write tools via unparameterized table names and WHERE clauses
- CVSS
- 8.8
- EPSS
- 0.60% (p50)
- Published
- 2026-11-18
- Age
- 16d old
- Modified
- 2026-11-23
- Product
- ConnorBritain mssql-mcp-core
- Aliases
- GHSA-2m9m-6cr5-9x25
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
Fixed in
0.5.0 · 0.6.0
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| npm | @connorbritain/mssql-mcp-core | <= 0.5.0 | 0.6.0 |
| npm | @connorbritain/mssql-mcp-core | >=0, <0.6.0 | 0.6.0 |
| npm | @connorbritain/mssql-mcp-reader | <= 0.4.2 | 0.5.0 |
| npm | @connorbritain/mssql-mcp-reader | >=0, <0.5.0 | 0.5.0 |
| npm | @connorbritain/mssql-mcp-server | <= 0.5.2 | 0.6.0 |
| npm | @connorbritain/mssql-mcp-server | >=0, <0.6.0 | 0.6.0 |
| npm | @connorbritain/mssql-mcp-writer | <= 0.4.2 | 0.5.0 |
| npm | @connorbritain/mssql-mcp-writer | >=0, <0.5.0 | 0.5.0 |
Sources
- NVD · first seen 16d ago · NVD terms of use
- OSV · first seen 16d ago · CC-BY 4.0
- GitHub Advisory Database · first seen 16d ago · CC-BY 4.0
- CVE List · first seen 16d ago · CVE Terms of Use
References
- https://github.com/ConnorBritain/mssql-mcp-core/security/advisories/GHSA-2m9m-6cr5-9x25 x_refsource_CONFIRM
- https://github.com/ConnorBritain/mssql-mcp-core/pull/1 x_refsource_MISC
- https://github.com/ConnorBritain/mssql-mcp-core/commit/227e2efc4e3311c477b7ae509c3ae15437a4f815 x_refsource_MISC
- https://github.com/ConnorBritain/mssql-mcp-core/commit/a9727f83768598e4fdbddfbc717ccfebb84ae7af x_refsource_MISC
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63129.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-63129 advisory
- https://github.com/advisories/GHSA-2m9m-6cr5-9x25 other
- https://github.com/ConnorBritain/mssql-mcp-core package