CVE-2025-66336: Apache Doris MCP Server: SQL injection leading the authentication bypass

Published Jun 22, 2026
·
Updated

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 Software

2 affected components
Apache Doris MCP Server<0.6.1
Apache Doris MCP Server>=0.1.0<0.6.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Apache Doris (MCP Server) to a version that resolves this vulnerability.

    Fixed in 0.6.1Patch CVE-2025-66336

Event History

Jun 22, 2026
CVE Published
via MITRE·06:55 AM
Data Sourced
via MITRE·06:55 AM
DescriptionWeakness
Data Sourced
via NVD·08:16 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-66336?

CVE-2025-66336 has a risk rating of 30, indicating its high severity due to the potential for SQL injection and authentication bypass.

2

How do I fix CVE-2025-66336?

To fix CVE-2025-66336, ensure that user-controlled inputs are properly sanitized and never directly interpolated into SQL queries.

3

What kind of vulnerability is CVE-2025-66336?

CVE-2025-66336 is a SQL injection vulnerability that can lead to an authentication bypass in Apache Doris MCP Server.

4

Who is affected by CVE-2025-66336?

CVE-2025-66336 affects users of the Apache Doris MCP Server who rely on the compromised metadata query path.

5

Can CVE-2025-66336 be exploited by unauthenticated users?

Yes, CVE-2025-66336 can potentially be exploited by both authenticated attackers and anonymous users.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203