Skip to main content

Apache Doris Mcp Server EUVDEUVD-2025-209532

| CVE-2025-66335 MEDIUM
SQL Injection (CWE-89)
2026-04-20 apache GHSA-qhfq-gvvc-5q6q
5.3
CVSS 3.1 · Vendor: apache
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Network access to MCP interface
  2. Delivery
    Craft SQL injection payload
  3. Exploit
    Submit payload via MCP query parameter
  4. Install
    Server executes unintended SQL statement
  5. C2
    Attacker retrieves restricted data
  6. Execute
    Validate query results
  7. Impact
    Repeat for data exfiltration

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The MCP query execution interface must be network-accessible and receive user-supplied query input without proper parameterization. No authentication is required to trigger the vulnerability. Exploitation requires the attacker to have network access to the MCP Server's exposed endpoint and knowledge of the underlying database schema or table names to craft effective SQL injection payloads. The vulnerability is triggered when query context handling accepts unsanitized input in SQL statement construction. No non-default configuration is required; the flaw is present in standard deployments of affected versions. The vulnerability does not require user interaction or special privileges on the target system.

Impact

The CVSS vector (AV:N/AC:L/PR:N/UI:N) indicates network-accessible exploitation with low complexity and no authentication or user interaction required, which typically represents high risk. However, the CVSS impact rating contradicts the description: the vector shows C:L/I:N/A:N, indicating only partial confidentiality impact with no integrity or availability impact. This is inconsistent with SQL injection capable of executing arbitrary statements and bypassing access controls, which should have integrity impact. CISA's SSVC framework rates this as: Exploitation: none (no confirmed active exploitation), Automatable: yes (SQL injection is easily weaponizable), Technical Impact: partial. The combination of no current exploitation status, partial technical impact scoring, and the confidentiality-only CVSS rating suggests this may be lower real-world priority than the network vector alone implies. A vendor patch is available for immediate remediation. The lack of integrity or availability impact ratings in CVSS is notable and should be clarified with the vendor, as SQL injection that can execute arbitrary statements typically poses broader impact than confidentiality alone.

Exploit ScenarioDerived

An unauthenticated attacker sends a crafted query via the MCP interface to a Doris MCP Server instance containing SQL injection payload (e.g., UNION-based injection in a query parameter). The server fails to neutralize the input, allowing the attacker to execute a modified SQL statement that extracts sensitive data from database tables normally restricted by access controls, bypassing the intended query validation. The attacker may repeatedly query the database to exfiltrate confidential information without authentication.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 20, 2026

SQL injection in Apache Doris MCP Server versions before 0.6.1 allows unauthenticated remote attackers to execute unintended SQL statements and bypass query validation and access restrictions via improper neutralization in the MCP query execution interface. The vulnerability has a CVSS score of 5.3 (network-accessible, low complexity, no authentication required) but is classified as partial impact (confidentiality only, no integrity or availability impact) and has not been confirmed as actively exploited. A vendor patch is available.

RemediationAI

Upgrade Apache Doris MCP Server to version 0.6.1 or later immediately to remediate the SQL injection vulnerability. The vendor has released a patched version as confirmed by the Apache advisory at https://lists.apache.org/thread/odp0fyyst8kxm7hhm9z4d1snh1y4hjpy. Until patching is feasible, implement network segmentation to restrict access to the MCP query execution interface to trusted internal clients only; disable or restrict the MCP protocol if it is not required for operations; and apply input validation and parameterized query frameworks at the application layer if custom integrations exist. Note that network restriction reduces attack surface but does not eliminate the vulnerability if internal systems are compromised. Input validation at the application layer is effective but adds latency and maintenance burden; parameterized queries are the preferred long-term compensating control. Upgrading to 0.6.1 is the only permanent fix and should be prioritized.

Affected VersionsENISA

Apache Doris MCP Server 0.1.0 <0.6.1

Affected Packages

pypi doris-mcp-server fix: 0.6.1
euvd apache_doris_mcp_server fix: 0.6.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in pypi, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Apache Doris MCP Server is a Model Context Protocol (MCP) server component of the Apache Doris distributed SQL analytics engine. The vulnerability exists in the query context handling mechanism within the MCP query execution interface, which fails to properly neutralize user-supplied input when constructing SQL statements. This is a classic SQL injection flaw (CWE-89: Improper Neutralization of Special Elements used in an SQL Command) where untrusted input passed through the MCP interface reaches SQL execution without sufficient parameterization or escaping. The MCP (Model Context Protocol) is an interface protocol that allows external tools and models to interact with Doris query execution. The affected CPE (cpe:2.3:a:apache_software_foundation:apache_doris_mcp_server:*:*:*:*:*:*:*:*) indicates all versions of the Doris MCP Server component up to 0.6.0 are vulnerable.

Know when Apache Doris Mcp Server gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (apache) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Primary rating from Vendor (apache) · only source for this CVE.

CVSS VectorVendor: apache

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

Lifecycle Timeline

3
Patch released
Apr 22, 2026 - 14:17 nvd
Patch available
Patch available
Apr 20, 2026 - 15:31 EUVD
CVE Published
Apr 20, 2026 - 13:27 nvd
MEDIUM 5.3

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 85% exploitable
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy