CVE-2025-66335
Received Received - Intake
SQL Injection in Apache Doris MCP Server Allows Query Bypass

Publication date: 2026-04-20

Last updated on: 2026-04-22

Assigner: Apache Software Foundation

Description
Apache Doris MCP Server versions earlier than 0.6.1 are affected by an improper neutralization flaw in query context handling that may allow execution of unintended SQL statements and bypass of intended query validation and access restrictions through the MCP query execution interface. Version 0.6.1 and later are not affected.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-04-20
Last Modified
2026-04-22
Generated
2026-05-07
AI Q&A
2026-04-20
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
apache doris_mcp_server From 0.1.0 (inc) to 0.6.1 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Attack-Flow Graph
AI Powered Q&A
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

The vulnerability in Apache Doris MCP Server allows execution of unintended SQL statements and bypass of intended query validation and access restrictions. This could potentially lead to unauthorized data access or manipulation.

Such unauthorized access or data manipulation may impact compliance with common standards and regulations like GDPR and HIPAA, which require strict controls over data access and protection of sensitive information.

However, the provided information does not explicitly describe the direct effects on compliance with these standards.


Can you explain this vulnerability to me?

CVE-2025-66335 is a vulnerability in Apache Doris MCP Server versions earlier than 0.6.1 caused by improper neutralization in the query context handling.

This flaw allows attackers to execute unintended SQL statements by bypassing the intended query validation and access restrictions through the MCP query execution interface.

Versions 0.6.1 and later have fixed this issue and are not affected.


How can this vulnerability impact me? :

This vulnerability can allow an attacker to execute unintended SQL statements on the affected Apache Doris MCP Server.

By bypassing query validation and access restrictions, attackers may gain unauthorized access to data or perform unauthorized actions within the database.

Such unauthorized actions could lead to data leakage, data corruption, or other security breaches depending on the database's role and data sensitivity.


What immediate steps should I take to mitigate this vulnerability?

To mitigate this vulnerability, upgrade Apache Doris MCP Server to version 0.6.1 or later, as these versions have addressed the improper neutralization flaw in query context handling.

Avoid using affected versions (from 0.1.0 up to but not including 0.6.1) to prevent execution of unintended SQL statements and bypass of query validation and access restrictions.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart