mssql-mcp write tools · mssql-mcp-core: SQL injection
Affects @connorbritain/mssql-mcp-coreSource GCVE Database
Not known to be exploited · CVSS 8.8 High : upgrade to 0.6.0 soon.
Data as of 19 Nov 2026, 01:50 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 8.8 |
|---|
- Patch
- Available – fixed in 0.6.0, 0.5.0
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 18 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 18 Nov 2026.
What to do
Upgrade @connorbritain/mssql-mcp-core and @connorbritain/mssql-mcp-server to 0.6.0; @connorbritain/mssql-mcp-reader and @connorbritain/mssql-mcp-writer to 0.5.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npm@connorbritain/mssql-mcp-core | Affected
| Fixed in
|
| npm@connorbritain/mssql-mcp-reader | Affected
| Fixed in
|
| npm@connorbritain/mssql-mcp-writer | Affected
| Fixed in
|
| npm@connorbritain/mssql-mcp-server | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A complete fix is available in mssql-mcp-core version 0.6.0 and related consumer packages (mssql-mcp-reader 0.5.0, mssql-mcp-writer 0.5.0, mssql-mcp-server 0.6.0). Upgrading to these versions is the recommended remediation. As defense in depth, run the server with a least-privilege SQL login and ensure xp_cmdshell is disabled. Restrict which MCP clients can invoke the vulnerable tools. No other workarounds fully mitigate the issue.
Description
The mssql-mcp-core package contained SQL injection vulnerabilities due to unparameterized interpolation of table names, column names, and WHERE clauses in several tools. This allowed attackers supplying crafted inputs to execute arbitrary SQL statements, bypassing safety checks and potentially executing OS commands if the SQL login was privileged and xp_cmdshell enabled. The issue was fixed in version 0.6.0 by validating identifiers against allowlists and replacing free-form WHERE clauses with structured, parameterized filters.
References
- github.com/ConnorBritain/mssql-mcp-core/security/advisories/GHSA-2m9m-6cr5-9x25 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-63129 (opens in a new tab)
- github.com/ConnorBritain/mssql-mcp-core/pull/1 (opens in a new tab)
- github.com/ConnorBritain/mssql-mcp-core/commit/227e2efc4e3311c477b7ae509c3ae15437a4f815 (opens in a new tab)
- github.com/ConnorBritain/mssql-mcp-core/commit/a9727f83768598e4fdbddfbc717ccfebb84ae7af (opens in a new tab)
- github.com/ConnorBritain/mssql-mcp-core (opens in a new tab)