All reports
High

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

Affected versions

Version ranges need review.

Affected versions
< 0.6.1
Fixed version
0.6.1
Affected versions
<0.6.1
Fixed version
0.6.1

Exploitation

CVE-2025-66336

Probability of exploitation in the next 30 days: 0.56%

FIRST EPSS · 2026-11-21

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.

Links