CVE-2026-63129mssql-mcp-core: SQL injection in mssql-mcp write tools via unparameterized table names…
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.
What to do
Fixed builds are available from npm: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| npm library | @connorbritain/mssql-mcp-core | Fixed | 0.6.0 | GHSA-2m9m-6cr5-9x25 |
| npm library | @connorbritain/mssql-mcp-reader | Fixed | 0.5.0 | GHSA-2m9m-6cr5-9x25 |
| npm library | @connorbritain/mssql-mcp-server | Fixed | 0.6.0 | GHSA-2m9m-6cr5-9x25 |
| npm library | @connorbritain/mssql-mcp-writer | Fixed | 0.5.0 | GHSA-2m9m-6cr5-9x25 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- ConnorBritain mssql-mcp-core: affected: < 0.6.0
- ConnorBritain mssql-mcp-reader: affected: < 0.5.0
- ConnorBritain mssql-mcp-writer: affected: < 0.5.0
- ConnorBritain mssql-mcp-server: affected: < 0.6.0
References
- https://github.com/ConnorBritain/mssql-mcp-core/security/advisories/GHSA-2m9m-6cr5-9x25
- https://github.com/ConnorBritain/mssql-mcp-core/pull/1
- https://github.com/ConnorBritain/mssql-mcp-core/commit/227e2efc4e3311c477b7ae509c3ae15437a4f815
- https://github.com/ConnorBritain/mssql-mcp-core/commit/a9727f83768598e4fdbddfbc717ccfebb84ae7af
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.