CVE-2026-63129: mssql-mcp-core: SQL injection in mssql-mcp write tools via unparameterized table names and WHERE clauses
Published 2026-11-19 · Updated 2026-11-19 · Also known as GHSA-2m9m-6cr5-9x25
Summary
A SQL injection vulnerability exists in multiple packages of the mssql-mcp ecosystem due to unparameterized string interpolation of identifiers and clauses. Engineering teams maintaining applications using these packages must upgrade immediately.
Who is affected
Affected deployments include any applications running vulnerable versions of @connorbritain/mssql-mcp-core, mssql-mcp-reader, mssql-mcp-server, or mssql-mcp-writer. An actor who can supply tool arguments-such as a compromised MCP client or an LLM agent steered by indirect prompt injection-can bypass safeguards, read, modify, or drop arbitrary data, and potentially execute OS commands.
Exploitability
The vulnerability carries a CVSS base score of 8.8 (HIGH) with a vector of CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, indicating network attack vectors with low privileges required and no user interaction needed. EPSS data is not yet available, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.
Remediation
- Upgrade @connorbritain/mssql-mcp-core to version 0.6.0 or higher.
- Upgrade @connorbritain/mssql-mcp-reader to version 0.5.0 or higher.
- Upgrade @connorbritain/mssql-mcp-server to version 0.6.0 or higher.
- Upgrade @connorbritain/mssql-mcp-writer to version 0.5.0 or higher.
How to check your project
- Check package.json or lockfiles for dependencies on @connorbritain/mssql-mcp-core prior to version 0.6.0.
- Check package.json or lockfiles for dependencies on @connorbritain/mssql-mcp-reader prior to version 0.5.0.
- Check package.json or lockfiles for dependencies on @connorbritain/mssql-mcp-server prior to version 0.6.0.
- Check package.json or lockfiles for dependencies on @connorbritain/mssql-mcp-writer prior to version 0.5.0.
Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| npm | @connorbritain/mssql-mcp-core |
>= 0, < 0.6.0 | 0.6.0 | npm install @connorbritain/[email protected] |
| npm | @connorbritain/mssql-mcp-reader |
>= 0, < 0.5.0 | 0.5.0 | npm install @connorbritain/[email protected] |
| npm | @connorbritain/mssql-mcp-server |
>= 0, < 0.6.0 | 0.6.0 | npm install @connorbritain/[email protected] |
| npm | @connorbritain/mssql-mcp-writer |
>= 0, < 0.5.0 | 0.5.0 | npm install @connorbritain/[email protected] |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | Low |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity | High |
| Availability | High |
FAQ
What causes the SQL injection vulnerability?
Tools in mssql-mcp-core built T-SQL statements by directly string-interpolating caller-supplied identifiers, table names, column names, and free-form where clauses into requests, while only data values were parameterized.
Is the read-only reader package affected?
Yes, the reader package is injectable because the list_databases tool's stateFilter argument was interpolated raw into the query.
What breaking changes were introduced in the patch?
The free-form whereClause string parameter was removed and replaced with structured, parameterized filters using an operator allowlist.
Original advisory description
References
- WEB https://github.com/ConnorBritain/mssql-mcp-core/security/advisories/GHSA-2m9m-6cr5-9x25
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-63129
- WEB https://github.com/ConnorBritain/mssql-mcp-core/pull/1
- WEB https://github.com/ConnorBritain/mssql-mcp-core/commit/227e2efc4e3311c477b7ae509c3ae15437a4f815
- WEB https://github.com/ConnorBritain/mssql-mcp-core/commit/a9727f83768598e4fdbddfbc717ccfebb84ae7af
- PACKAGE https://github.com/ConnorBritain/mssql-mcp-core
Source records: GHSA-2m9m-6cr5-9x25 (OSV.dev) · EPSS by FIRST, 2026-11-26.