doris-mcp-server) | Moderate || 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. |
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.
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.
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 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.
Add a minimal vulnerable code snippet here after reviewing the linked release notes / patch diff.
Upgrade doris-mcp-server on PyPI to 0.6.1 or later. Until patched, restrict which principals can invoke SQL-capable MCP tools, enforce least-privilege Doris credentials for the MCP role, and avoid exposing the MCP listener beyond required networks.
Public coordinated disclosure references exist; do not host weaponized SQLi payloads in this repository.
doris-mcp-server versions before 0.6.1.https://github.com/apache/doris-mcp-server/releases/tag/0.6.1