CVE-2025-66336

Apache Doris MCP Server: SQL injection leading the authentication bypass

Published Jun 22, 2026 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-pqrj-4gwg-h5f7 Apache Doris MCP Server is vulnerable to SQL Injection via metadata query path
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Apache
Apache doris Mcp Server
Vendors & Products Apache
Apache doris Mcp Server
Type Values Removed Values Added
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.
Title Apache Doris MCP Server: SQL injection leading the authentication bypass
Weaknesses CWE-89
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Jun 22, 2026, 3:49 PM
Reserved
Nov 27, 2025, 3:24 AM
Status
Analyzed
Published
Jun 22, 2026, 8:16 AM
Modified
Oct 6, 2026, 10:10 PM