Skip to content
OpenAdvisories
High · 8.1 CVE-2025-66336 EUVD-2025-210295GHSA-pqrj-4gwg-h5f7PYSEC-2026-4048

Apache Doris MCP Server: SQL injection leading the authentication bypass

Published Jun 22, 2026 · Updated Jun 22, 2026 · Assigned by apache

Description

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.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Doris MCP Server 0.1.0 – < 0.6.1 0.6.1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI doris-mcp-server < 0.6.1 0.6.1 GHSA-pqrj-4gwg-h5f7

References