Skip to content
High 8.8

mssql-mcp-coreのSQLインジェクションで任意のSQLを実行される脆弱性

CVE-2026-63129 First seen on SecPulse

Summary

mssql-mcp-coreのwriteツールでは、テーブル名とWHERE句が加工されずにSQL文へ組み込まれるため、細工された入力で任意のSQLを実行される脆弱性があります。影響はmssql-mcp-core 0.6.0より前、mssql-mcp-reader 0.5.0より前のnpmパッケージです。修正版はcore 0.6.0、reader 0.5.0で、利用中のパッケージを修正版に更新してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

mssql-mcp-coreのwriteツールでは、テーブル名とWHERE句が加工されずにSQL文へ組み込まれるため、細工された入力で任意のSQLを実行される脆弱性があります。影響はmssql-mcp-core 0.6.0より前、mssql-mcp-reader 0.5.0より前のnpmパッケージです。修正版はcore 0.6.0、reader 0.5.0で、利用中のパッケージを修正版に更新してください。

Affected packages

PackageAffected → Fixed
ConnorBritainmssql-mcp-core —
ConnorBritainmssql-mcp-reader —
ConnorBritainmssql-mcp-writer —
ConnorBritainmssql-mcp-server —
npm@connorbritain/mssql-mcp-core
< 0.6.0→ 0.6.0
npm@connorbritain/mssql-mcp-reader
< 0.5.0→ 0.5.0
npm@connorbritain/mssql-mcp-writer
< 0.5.0→ 0.5.0
npm@connorbritain/mssql-mcp-server
< 0.6.0→ 0.6.0
Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details