GHSA-pqrj-4gwg-h5f7
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed Doris MCP Server
-
DeliveryObtain low-privileged or anonymous MCP access
-
ExploitSend metadata request with crafted database name
-
ExecutionInjected SQL bypasses auth context
-
PersistEnumerate cross-database metadata
-
ImpactStage 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – 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)
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.
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
Affected Packages
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
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
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.
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
5Description PRE-NVD
Articles & Coverage 1
Executive ViewAI
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
EUVD-2025-210295
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB