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.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)0.6%top 53.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
PyPIdoris-mcp-server0.6.1GHSA-pqrj-4gwg-h5f7
PyPIdoris-mcp-server0.6.1PYSEC-2026-4048

Affected products (as reported)

VendorProductVersions
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

References