CVE-2025-66335 is a medium-severity vulnerability affecting Apache Doris MCP Server versions earlier than 0.6.1. This vulnerability allows improper neutralization in query context handling, which may lead to the execution of unintended SQL statements. Attackers could bypass intended query validation and access restrictions through the MCP query execution interface. Organizations utilizing affected versions should prioritize patching to reduce their risk exposure.
The CVSS score for this vulnerability is 5.3, categorized as medium severity. This score indicates a moderate risk to organizations, particularly due to the potential for unauthorized access to sensitive data. With the increasing reliance on database systems, the implications of such vulnerabilities can be significant, making immediate remediation crucial.
As of the latest information, there is no confirmed public exploit for this vulnerability, and it is not listed in the Known Exploitation Vulnerability (KEV) catalog. However, given its nature, organizations should remain vigilant and consider adopting proactive security measures.
Organizations should prioritize patching immediately. This urgency is compounded by the fact that the vulnerability is network-exploitable, meaning attackers could leverage it from a remote location.
Vulnerability Details
The official description of CVE-2025-66335 states that the vulnerability allows improper neutralization in query context handling, which may allow execution of unintended SQL statements. The affected product is the Apache Doris MCP Server, with versions prior to 0.6.1 being vulnerable. The vulnerability is classified under CWE-89, which pertains to SQL injection issues.
The CVSS 3.1 score is 5.3, indicating a medium severity level. This score is derived from various factors, including the attack vector being network-based and the attack complexity being low. The required privileges are none, and no user interaction is necessary to exploit this vulnerability.
The vulnerability was published on April 20, 2026, and has been analyzed for its potential impact. It poses a risk to organizations using the affected versions of the Apache Doris MCP Server.
Technical Analysis
The root cause of CVE-2025-66335 lies in the improper handling of query contexts within the Apache Doris MCP Server. This flaw can be exploited through a network attack vector, with low attack complexity, meaning that an attacker does not require extensive technical knowledge to exploit this vulnerability.
No privileges are required to exploit this vulnerability, and user interaction is not necessary. The impact on confidentiality is low, as it may allow unauthorized access to some information. However, there are no significant impacts on integrity or availability.
Risk & Impact Analysis
Risk to organizations includes potential unauthorized access to sensitive data through SQL injection attacks, which can lead to data breaches and loss of data integrity. Given the nature of the vulnerability, it poses a significant risk to organizations that rely on the Apache Doris MCP Server for data management.
The blast radius for this vulnerability is moderate, as it affects any application using the vulnerable versions of the Apache Doris MCP Server. Organizations should assess their exposure and implement mitigation strategies accordingly.
Urgency assessment based on the CVSS score indicates that organizations should address this vulnerability in their priority patch cycle. Immediate action is necessary to prevent potential exploitation.
Exploitation Status
Signal | Status |
|---|---|
Known Exploit | No |
Public PoC | No |
Actively Exploited | No |
Ransomware Use | No |
Affected Versions
All versions prior to vendor patch 0.6.1 are affected by this vulnerability. Organizations using older versions of the Apache Doris MCP Server should prioritize upgrading to the latest version to mitigate the risks associated with this flaw.
Mitigation & Remediation
Organizations should upgrade to Apache Doris MCP Server version 0.6.1 or later to address this vulnerability. If an immediate upgrade is not feasible, consider implementing network controls to restrict access to the MCP query execution interface while preparing for an upgrade. Regular monitoring of logs for unusual query patterns can also help detect potential exploitation attempts.
For more effective remediation, organizations may consider engaging in penetration testing to validate the effectiveness of their security controls post-remediation.
Detection Guidance
To detect potential exploitation of this vulnerability, organizations should monitor logs for unusual SQL queries that may indicate an attempt to bypass query validation. Additionally, behavioral anomalies within the application that deviate from normal patterns may provide further indications of exploitation.
AppSecure Threat Intelligence Insight
CVE-2025-66335 highlights the importance of secure coding practices, particularly in database applications where SQL injection vulnerabilities can have severe consequences. Organizations should remain vigilant and implement robust security measures to defend against such vulnerabilities.
This vulnerability also serves as a reminder of the evolving threat landscape and the need for continuous monitoring and patch management. Organizations must prioritize security assessments and ensure that their systems are regularly updated to mitigate potential risks.
For more insights on enhancing your security posture, consider exploring our resources on vulnerability management and maintaining effective security measures.
For organizations leveraging cloud infrastructure, consider reviewing our guide on cloud penetration testing to further strengthen your defenses against potential vulnerabilities.
In conclusion, organizations using Apache Doris MCP Server should take immediate action to address CVE-2025-66335 and ensure the integrity of their data management systems.
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

.webp)