CVE-2025-66336
Apache Doris MCP Server: SQL injection leading the authentication bypass
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.
INFO
Published Date :
June 22, 2026, 8:16 a.m.
Last Modified :
June 26, 2026, 1:28 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
Solution
- Upgrade Apache Doris to version 0.6.1 or later.
- Ensure authentication is enabled if possible.
Public PoC/Exploit Available at Github
CVE-2025-66336 has a 1 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-66336.
| URL | Resource |
|---|---|
| https://lists.apache.org/thread/4l4v3m7ofwrgp4s4s98pjb5l03fcrzo2 | Mailing List Vendor Advisory |
| http://www.openwall.com/lists/oss-security/2026/06/22/1 | Mailing List Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-66336 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-66336
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
The Project shares all information on MCP related CVE's published
mcp mcp-security mcp-cve
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-66336 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-66336 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jun. 26, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:apache:doris_mcp_server:*:*:*:*:*:*:*:* versions from (including) 0.1.0 up to (excluding) 0.6.1 Added Reference Type Apache Software Foundation: https://lists.apache.org/thread/4l4v3m7ofwrgp4s4s98pjb5l03fcrzo2 Types: Mailing List, Vendor Advisory Added Reference Type CVE: http://www.openwall.com/lists/oss-security/2026/06/22/1 Types: Mailing List, Third Party Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 22, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N Added SSVC {'id': 'CVE-2025-66336', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-06-22T15:49:32.488671Z'} -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Jun. 22, 2026
Action Type Old Value New Value Added Reference http://www.openwall.com/lists/oss-security/2026/06/22/1 -
New CVE Received by [email protected]
Jun. 22, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'Apache Software Foundation', 'product': 'Apache Doris MCP Server', 'versions': [{'status': 'affected', 'version': '0.1.0', 'lessThan': '0.6.1', 'versionType': 'semver'}], 'packageName': 'doris-mcp-server', 'collectionURL': 'https://pypi.python.org', 'defaultStatus': 'unaffected'}] 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. Added CWE CWE-89 Added Reference https://lists.apache.org/thread/4l4v3m7ofwrgp4s4s98pjb5l03fcrzo2