{"data":{"id":"db9b7cec-8975-4da8-972e-60ecda5e84c7","title":"GHSA-2m9m-6cr5-9x25: mssql-mcp-core: SQL injection in mssql-mcp write tools via unparameterized table names and WHERE clauses","summary":"Several tools in `mssql-mcp-core` built T-SQL by string-interpolating caller-supplied identifiers and `whereClause` predicates into `Request.query()` batches, with only data values parameterized. Because preview queries ran before the `confirmUpdate`/`confirmDelete` step, a crafted input executed on the first call and bypassed the preview, confirmation and `maxRows` safeguards. An actor supplying tool arguments could read, modify or drop data and, under a privileged login with `xp_cmdshell` enabled, conditionally execute OS commands.","solution":"Fixed in `@connorbritain/mssql-mcp-core` 0.6.0: identifiers are validated against a strict allowlist and bracket-quoted, the free-form `whereClause` is removed (breaking change) in favor of parameterized `{ column, operator, value }` filters with an operator allowlist, and `list_databases` validates `stateFilter` against a fixed allowlist. Upgrade `mssql-mcp-reader` 0.5.0, `mssql-mcp-writer` 0.5.0 and `mssql-mcp-server` 0.6.0. Workaround: run the server under a least-privilege SQL login with `xp_cmdshell` disabled and restrict which MCP clients can invoke the tools.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-2m9m-6cr5-9x25","publishedAt":"2026-11-19T00:46:38.000Z","cveId":"CVE-2026-63129","cweIds":null,"cvssScore":null,"cvssSeverity":"high","severity":"high","attackType":["other"],"issueType":"vulnerability","affectedPackages":["@connorbritain/mssql-mcp-server@<= 0.5.2 (fixed: 0.6.0)","@connorbritain/mssql-mcp-writer@<= 0.4.2 (fixed: 0.5.0)","@connorbritain/mssql-mcp-reader@<= 0.4.2 (fixed: 0.5.0)","@connorbritain/mssql-mcp-core@<= 0.5.0 (fixed: 0.6.0)"],"affectedPackageNames":["@connorbritain/mssql-mcp-server","@connorbritain/mssql-mcp-writer","@connorbritain/mssql-mcp-reader","@connorbritain/mssql-mcp-core"],"affectedPackageRefs":["npm:@connorbritain/mssql-mcp-server","npm:@connorbritain/mssql-mcp-writer","npm:@connorbritain/mssql-mcp-reader","npm:@connorbritain/mssql-mcp-core"],"affectedVendors":[],"affectedVendorsRaw":["mssql-mcp-core","mssql-mcp-reader","mssql-mcp-writer","mssql-mcp-server","MCP (Model Context Protocol) clients","LLM agents"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0,"epssCheckedAt":"2026-11-19T06:15:16.249Z","kevDateAdded":null,"advisoryAliases":["GHSA-2m9m-6cr5-9x25"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2026-11-19T00:46:38.000Z","fixReleasedAt":"2026-06-29T17:00:36.178Z","daysToFix":-143,"fixCheckedAt":"2026-11-19T06:15:44.328Z","capecIds":null,"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality","integrity","availability"],"aiComponentTargeted":"plugin","llmSpecific":false,"classifierConfidence":0.85,"researchCategory":null,"atlasIds":null,"fixes":[{"ecosystem":"npm","name":"@connorbritain/mssql-mcp-reader","fixedVersion":"0.5.0","matchedVersion":"0.5.0","fixReleasedAt":"2026-06-29T17:01:25.306Z","daysToFix":-143,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-11-19T06:15:44.322Z"},{"ecosystem":"npm","name":"@connorbritain/mssql-mcp-writer","fixedVersion":"0.5.0","matchedVersion":"0.5.0","fixReleasedAt":"2026-06-29T17:01:57.456Z","daysToFix":-143,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-11-19T06:15:44.322Z"},{"ecosystem":"npm","name":"@connorbritain/mssql-mcp-core","fixedVersion":"0.6.0","matchedVersion":"0.6.0","fixReleasedAt":"2026-06-29T17:00:36.178Z","daysToFix":-143,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-11-19T06:15:44.322Z"},{"ecosystem":"npm","name":"@connorbritain/mssql-mcp-server","fixedVersion":"0.6.0","matchedVersion":"0.6.0","fixReleasedAt":"2026-06-29T17:14:01.272Z","daysToFix":-143,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-11-19T06:15:44.322Z"}]}}