Description
Azure Data Explorer MCP Server is a Model Context Protocol (MCP) server that enables AI assistants to execute KQL queries and explore Azure Data Explorer (ADX/Kusto) databases through standardized interfaces. Versions up to and including 0.1.1 contain KQL (Kusto Query Language) injection vulnerabilities in three MCP tool handlers: `get_table_schema`, `sample_table_data`, and `get_table_details`. The `table_name` parameter is interpolated directly into KQL queries via f-strings without any validation or sanitization, allowing an attacker (or a prompt-injected AI agent) to execute arbitrary KQL queries against the Azure Data Explorer cluster. Commit 0abe0ee55279e111281076393e5e966335fffd30 patches the issue.
Problem types
CWE-943: Improper Neutralization of Special Elements in Data Query Logic
Product status
References
github.com/...server/security/advisories/GHSA-vphc-468g-8rfp
github.com/...server/security/advisories/GHSA-vphc-468g-8rfp
github.com/...ommit/0abe0ee55279e111281076393e5e966335fffd30