Skip to main content

Apache Doris MCP Server EUVDEUVD-2025-210295

| CVE-2025-66336 HIGH
SQL Injection (CWE-89)
8.1
CVSS 3.1 · Vendor
View

Attack ChainAIDerived

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

  1. Access
    Identify exposed Doris MCP Server
  2. Delivery
    Obtain low-privileged or anonymous MCP access
  3. Exploit
    Send metadata request with crafted database name
  4. Execution
    Injected SQL bypasses auth context
  5. Persist
    Enumerate cross-database metadata
  6. Impact
    Stage follow-on attacks on identified targets

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

Exploitation requires reachability to the Apache Doris MCP Server's metadata query endpoint and the ability to control the database-name parameter of a metadata request; in the default configuration the attacker must hold a valid MCP authentication credential (any privilege level), but if the deployment has disabled MCP authentication the same attack works anonymously. The affected component must be Apache Doris MCP Server in the 0.1.0-0.6.0 range; instances already on 0.6.1+ are not exploitable. Limiting factors: no user interaction is needed and attack complexity is low, but the issue is confined to the MCP Server component (not the core Doris query engine) and impact is bounded to metadata accessible to the database role the MCP Server runs as, so deployments that restrict MCP exposure to a trusted network and run the server under a least-privilege Doris account substantially reduce realistic risk.

Impact

The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N, score 8.1) indicates a network-reachable, low-complexity attack requiring only low-privilege authentication, with high confidentiality and integrity impact on metadata. SSVC tempers this: CISA's framework records Exploitation: none and Automatable: no, while Technical Impact is total, and the vulnerability is not on the CISA KEV list and has no EPSS signal provided in the input. The PR:L assumption also breaks down in deployments where MCP-server authentication is disabled - a configuration the advisory explicitly calls out - which would effectively make this PR:N and raise real-world risk closer to unauthenticated remote SQLi. Net assessment: a genuine high-severity issue for any exposed or auth-disabled Doris MCP deployment, but currently no evidence of in-the-wild exploitation, so prioritize patching ahead of any internet-exposed or multi-tenant instance rather than treating it as an emergency-grade incident.

Exploit ScenarioDerived

An attacker with low-privileged MCP credentials (or any network attacker against an instance where MCP authentication has been disabled) sends a metadata request whose database-name argument carries an appended SQL fragment such as a UNION or subquery. The injected SQL is interpolated into Doris's metadata query and executed without the caller's authorization context, returning schema and object information from databases the attacker should not be able to enumerate. No public exploit code has been identified at time of analysis, but the injection pattern is straightforward and would be quick to weaponize once the vulnerable parameter is identified.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv3 – Jun 22, 2026

SQL injection in Apache Doris MCP Server versions 0.1.0 through 0.6.0 allows authenticated attackers (or anonymous attackers when authentication is disabled) to inject arbitrary SQL through a database-name parameter in a metadata query path, bypassing the caller's authorization context. Because the query executes without the requester's auth context, attackers can read metadata across databases they should not be able to see. No public exploit identified at time of analysis, and SSVC currently marks exploitation as 'none'.

Earlier versions of this analysis (2)
v2 Jun 22, 2026 - 18:30 cvss changed CVSS 8.1

SQL injection in Apache Doris MCP Server versions 0.1.0 through 0.6.0 allows an authenticated attacker (or anonymous attacker where authentication is disabled) to inject SQL through a user-controlled database name in a metadata query path, bypassing SQL security validation and reading metadata outside the intended database scope. No public exploit identified at time of analysis, and CISA SSVC currently rates exploitation as 'none' despite total technical impact. EPSS data was not provided, so widespread exploitation activity has not been observed.

v1 Jun 22, 2026 - 06:51

SQL injection in Apache Doris MCP Server (versions 0.1.0 through 0.6.0) enables authenticated users - or unauthenticated network attackers when authentication is disabled - to bypass per-database authorization controls and read metadata from databases outside their permitted scope. The flaw combines a classic string-interpolation injection (user-supplied database name embedded directly in a raw SQL query) with a missing authorization context propagation, meaning Doris's own access controls are never consulted for the injected query. No public exploit code has been identified and the vulnerability is not listed in CISA KEV, but the straightforward injection technique requires minimal attacker sophistication once the endpoint is reachable.

RemediationAI

Vendor-released patch: Apache Doris MCP Server 0.6.1 - upgrade any deployment in the 0.1.0-0.6.0 range to 0.6.1 or later as the primary fix, per the Apache advisory at https://lists.apache.org/thread/4l4v3m7ofwrgp4s4s98pjb5l03fcrzo2 and the oss-security post at https://seclists.org/oss-sec/2026/q2/994. If immediate upgrade is not possible, ensure MCP Server authentication is enabled and restricted to trusted identities (do not run with auth disabled), and place the MCP Server behind a network boundary that blocks untrusted clients from reaching its endpoints - accepting the trade-off that LLM agents and other MCP consumers outside that boundary will lose access. As a further defense, audit Doris account privileges so the database role used by the MCP Server has only the minimum metadata access required, which limits the blast radius of any residual injection or auth-context bypass until the patch is applied.

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 the Model Context Protocol server component of the Apache Doris real-time analytical database, designed to expose Doris metadata and query capabilities to LLM agents and other MCP clients. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command): a user-controlled database identifier is concatenated directly into a SQL statement that drives a metadata lookup, rather than being parameterized or validated against an allow-list. Compounding the injection itself, the affected code path executes the resulting query without propagating the caller's authorization context, so Doris's normal SQL-level access controls cannot filter out objects the user is not entitled to see.

Know when 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 (CNA) PRIMARY 8.1 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 6.5 MEDIUM

Network-reachable MCP endpoint with low-complexity SQLi; PR:L because authenticated by default (auth-disabled deployments would warrant PR:N); metadata read is C:H, limited write/bypass impact justifies I:L, no availability effect.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (CNA).

CVSS VectorVendor

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

Lifecycle Timeline

5
Analysis Updated
Jun 22, 2026 - 18:30 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 22, 2026 - 18:30 vuln.today
v2 - CVSS changed
Severity Changed
Jun 22, 2026 - 18:23 NVD
CRITICAL HIGH
CVSS changed
Jun 22, 2026 - 18:23 NVD
8.1 (CRITICAL) 8.1 (HIGH)
Patch available
Jun 22, 2026 - 09:01 EUVD

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Executive ViewAI

Why It Matters

Apache Doris MCP Server versions 0.1.0 through 0.6.0 contain a SQL injection vulnerability allowing attackers to bypass authorization controls and access sensitive database metadata across isolated database boundaries. Organizations using affected versions risk unauthorized exposure of database structure and metadata that should be restricted based on user privileges.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 74% exploitable
Prevalence
Rare
Niche analytics DB MCP server, limited production adoption
Threat Intel
1
1 sources
Social Media
2
Sightings
Data Quality
6 sources
Confidence: High

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 HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

40
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
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