High (AgentArmorHQ estimate)Command injection

Apache Doris MCP Server SQL Injection via metadata query path

Product
Apache Doris MCP Server
CVE
CVE-2025-66336
Affected
pip/doris-mcp-server < 0.6.1
Fixed in
0.6.1

Last verified against sources: October 26, 2026

Am I affected?

Apache Doris MCP Server: affected pip/doris-mcp-server < 0.6.1. Fixed in 0.6.1.

  • Check your version: run pip show doris-mcp-server. Versions < 0.6.1 of doris-mcp-server are affected. [1]

What to do now

  1. Upgrade to the fixed version: run pip install --upgrade "doris-mcp-server>=0.6.1" (first patched version 0.6.1). [1]
  2. Upgrade to Doris version 0.6.1 or later. [1]

General practice, not from the source: if the affected software could read tokens or credentials, rotate them after upgrading; pin versions and review changes before updating tools your agents run.

Discuss this incident

What happened

  • Apache Doris MCP Server contains a SQL injection vulnerability in a metadata query path. [1]
  • A user-controlled database name is directly interpolated into a SQL query, and the query is executed without passing the caller's authorization context. [1]

Impact

  • This may allow an authenticated attacker, or an anonymous attacker if authentication is disabled, to bypass SQL security validation and access metadata outside the intended database scope. [1]

What was done

  • Affected users are recommended to upgrade to Doris version 0.6.1 or later, which fixes the issue. [1]
  • Packages: pip/doris-mcp-server affected < 0.6.1 patched 0.6.1 [1]

Sources

  1. GHSA-pqrj-4gwg-h5f7 — GitHub Advisory Database

Every statement above was checked against these sources before publishing. Spotted an error? Tell us and we will correct it with a dated note.

Share advisory brief with your team

Copy a plain-text summary for Slack, GitHub issues, or team security channels.

Brief
[CVE-2025-66336] Apache Doris MCP Server SQL Injection via metadata query path
Product: Apache Doris MCP Server | Affected: pip/doris-mcp-server < 0.6.1 | Fixed in: 0.6.1
Summary: Apache Doris MCP Server contains a SQL injection vulnerability in a metadata query path.
Source & remediation on AgentArmorHQ: https://agentarmorhq.com/incidents/2026/06/cve-2025-66336-apache-doris-mcp-server
Was this page useful?

Corrections

Report an error or request a correction. We review requests within 5 business days and add a dated correction note.

10 to 2,000 characters. A link to a source helps. Stored as plain text.

Discussions for CVE-2025-66336

Ask questions or share configuration tips. Governed by our Community Rules & Terms.

No posts match this filter yet.

Be the first to ask a question or share a working tip.

Check before you install

Paste a package name or a GitHub link and get a clear answer in seconds: Block, Review or No known issues. No account needed.

Check a package

Questions? Contact us