VDB
Sign up
HIGH8.1

GHSA-pqrj-4gwg-h5f7

Apache Doris MCP Server is vulnerable to SQL Injection via metadata query path

Quick fix

GHSA-pqrj-4gwg-h5f7 — doris-mcp-server: upgrade to the fixed version with the command below.

pip install --upgrade 'doris-mcp-server>=0.6.1'

Details

Apache Doris MCP Server contains a SQL injection vulnerability in a metadata query path. A user-controlled database name is directly interpolated into a SQL query, and the query is executed without passing the caller's authorization context. This may allow an authenticated attacker, or an anonymous attacker if authentication is disabled, to bypass SQL security validation and access metadata outside the intended database scope.

Affected users are recommended to upgrade to Doris version 0.6.1 or later, which fixes the issue.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/doris-mcp-server
Introduced in: 0Fixed in: 0.6.1
Fixpip install --upgrade 'doris-mcp-server>=0.6.1'

References