Vulnerability · Published Jun 22, 2026 · Assigned by apache
CVE-2025-66336Apache Doris MCP Server: SQL injection leading the authentication bypass
High 8.1
In plain English
A high-severity SQL injection in Apache Doris MCP Server from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | doris-mcp-server | 0.6.1 | GHSA-pqrj-4gwg-h5f7 |
| PyPI | doris-mcp-server | 0.6.1 | PYSEC-2026-4048 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Doris MCP Server | 0.1.0 – before 0.6.1 |
Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N