mcp-cve-project

CVE-2025-66335 | Apache Doris MCP Server (doris-mcp-server) | Moderate |

CVE Information

Field Value
CVE / NVD CVE-2025-66335
EPSS score 0.001160000 (FIRST EPSS, 2026-05-29)
Date (index) 2026-04-20
Affected product (index) Apache Doris MCP Server (doris-mcp-server; PyPI) (SQL injection via MCP query interface)
GHSA ID GHSA-qhfq-gvvc-5q6q
OWASP MCP Top 10 (2025) MCP05 — Command Injection & Execution
Published / disclosed 2026-04-20
Ecosystem PyPI
Component Apache Doris MCP Server
CVSS score MODERATE — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N (GHSA / OSV; base 5.3)
CWE CWE-89 (SQL injection)
Affected versions >= 0.1.0, < 0.6.1 (OSV lists vulnerable releases including 0.4.2, 0.5.0, 0.5.1, 0.6.0)
Fixed versions 0.6.1
Fix status Patched
Exploit status Public advisory
Notes Flaw is in query context neutralization for the MCP query execution path; successful abuse can undermine intended query validation and access restrictions against the backing Doris deployment.

CVE Breakdown


What is the vulnerability?

Apache Doris MCP Server versions prior to 0.6.1 mishandle query context when executing queries through the MCP query execution interface, enabling SQL injection (CWE-89). Crafted input can alter the intended SQL shape and may allow unintended statements relative to the server’s configured trust model.

Attack prerequisites / exposure

An attacker who can drive MCP tool/query traffic to the affected server (for example via a connected MCP client or automation) may be able to supply malicious query fragments. Effective impact depends on how the MCP server is deployed, authenticated, and scoped to the Doris cluster.

CVE is because of what bug?

Improper neutralization of special elements used in an SQL command when bridging MCP-originated query input into Doris SQL execution, weakening validation and authorization assumptions around the query path.

MCP-specific impact / why it matters

MCP servers often sit on a high-privilege automation boundary between agents and operational data stores. A SQLi class bug in the MCP query surface can turn broad tool or agent access into arbitrary database read/write behavior if database roles are permissive.

Where was the bug? (source + snippet)