Public vulnerability disclosure

CVE-2026-63129

mssql-mcp-core: SQL injection in mssql-mcp write tools via unparameterized table names and WHERE clauses

publishedCWE-89

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.

Technical severity8.8 highCVSS 3.1 · CNA: GitHub_M
Published2026-11-18Source updated 2026-11-23
Collected2026-11-235 attributed sources

Fixes and workarounds

Fix

@connorbritain/mssql-mcp-core (npm): GitHub reports patched versions 0.6.0. Check the advisory for the affected release branch.

Source: GitHub GHSA-2m9m-6cr5-9x25

Fix

@connorbritain/mssql-mcp-reader (npm): GitHub reports patched versions 0.5.0. Check the advisory for the affected release branch.

Source: GitHub GHSA-2m9m-6cr5-9x25

Fix

@connorbritain/mssql-mcp-writer (npm): GitHub reports patched versions 0.5.0. Check the advisory for the affected release branch.

Source: GitHub GHSA-2m9m-6cr5-9x25

Fix

@connorbritain/mssql-mcp-server (npm): GitHub reports patched versions 0.6.0. Check the advisory for the affected release branch.

Source: GitHub GHSA-2m9m-6cr5-9x25

Fix

@connorbritain/mssql-mcp-core (npm): OSV reports a fixed version 0.6.0. Check the advisory for supported release branches.

Source: OSV GHSA-2m9m-6cr5-9x25

Fix

@connorbritain/mssql-mcp-reader (npm): OSV reports a fixed version 0.5.0. Check the advisory for supported release branches.

Source: OSV GHSA-2m9m-6cr5-9x25

Fix

@connorbritain/mssql-mcp-writer (npm): OSV reports a fixed version 0.5.0. Check the advisory for supported release branches.

Source: OSV GHSA-2m9m-6cr5-9x25

Fix

@connorbritain/mssql-mcp-server (npm): OSV reports a fixed version 0.6.0. Check the advisory for supported release branches.

Source: OSV GHSA-2m9m-6cr5-9x25

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
mssql-mcp-core
ConnorBritain
< 0.6.0 (affected) CNA: GitHub_M
mssql-mcp-reader
ConnorBritain
< 0.5.0 (affected) CNA: GitHub_M
mssql-mcp-writer
ConnorBritain
< 0.5.0 (affected) CNA: GitHub_M
mssql-mcp-server
ConnorBritain
< 0.6.0 (affected) CNA: GitHub_M
@connorbritain/mssql-mcp-core

@connorbritain/mssql-mcp-core
npm
<= 0.5.0 (affected, GitHub advisory range) GitHub GHSA-2m9m-6cr5-9x25
@connorbritain/mssql-mcp-reader

@connorbritain/mssql-mcp-reader
npm
<= 0.4.2 (affected, GitHub advisory range) GitHub GHSA-2m9m-6cr5-9x25
@connorbritain/mssql-mcp-writer

@connorbritain/mssql-mcp-writer
npm
<= 0.4.2 (affected, GitHub advisory range) GitHub GHSA-2m9m-6cr5-9x25
@connorbritain/mssql-mcp-server

@connorbritain/mssql-mcp-server
npm
<= 0.5.2 (affected, GitHub advisory range) GitHub GHSA-2m9m-6cr5-9x25
@connorbritain/mssql-mcp-core

@connorbritain/mssql-mcp-core
npm
≥ 0; < 0.6.0 (affected, semver); OSV events: introduced 0; fixed 0.6.0
Source events (semver)
[
  {
    "introduced": "0"
  },
  {
    "fixed": "0.6.0"
  }
]

Other versions: unaffected
OSV GHSA-2m9m-6cr5-9x25
@connorbritain/mssql-mcp-reader

@connorbritain/mssql-mcp-reader
npm
≥ 0; < 0.5.0 (affected, semver); OSV events: introduced 0; fixed 0.5.0
Source events (semver)
[
  {
    "introduced": "0"
  },
  {
    "fixed": "0.5.0"
  }
]

Other versions: unaffected
OSV GHSA-2m9m-6cr5-9x25
@connorbritain/mssql-mcp-writer

@connorbritain/mssql-mcp-writer
npm
≥ 0; < 0.5.0 (affected, semver); OSV events: introduced 0; fixed 0.5.0
Source events (semver)
[
  {
    "introduced": "0"
  },
  {
    "fixed": "0.5.0"
  }
]

Other versions: unaffected
OSV GHSA-2m9m-6cr5-9x25
@connorbritain/mssql-mcp-server

@connorbritain/mssql-mcp-server
npm
≥ 0; < 0.6.0 (affected, semver); OSV events: introduced 0; fixed 0.6.0
Source events (semver)
[
  {
    "introduced": "0"
  },
  {
    "fixed": "0.6.0"
  }
]

Other versions: unaffected
OSV GHSA-2m9m-6cr5-9x25

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 8.8
high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HCNA: GitHub_M
3.1 / 8.8
high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD: [email protected]

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide