← All advisories

CVE-2025-66336highBroken access control2026-06-22

CVE-2025-66336: Apache Doris MCP Server SQL injection in a metadata query path bypasses SQL security checks (fixed 0.6.1)

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

01.

What it is

Apache Doris MCP Server contains a SQL injection vulnerability in a metadata query path. A user-controlled database name is directly interpolated into a SQL query, and the query is executed without passing the caller's authorization context. 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.

Affected users are recommended to upgrade to Doris version 0.6.1 or later, which fixes the issue.

02.

How to check

  1. Affected: doris-mcp-server (pip) < 0.6.1.
  2. Compare your installed version with the range above (command below).
03.

How to fix

  1. Upgrade doris-mcp-server to 0.6.1 or later.
pip show doris-mcp-server | grep Version
04.

Sources

The weekly email

One email a week. Only what changed.

Every new security hole in AI coding tools, MCP servers, app builders and the stacks they generate (Next.js, Supabase, Node, PHP), each with how to check your app and the fix. No roundups of things you already read.

Free, one email a week. Read the latest issue first if you like. One-click unsubscribe in every email. We never sell or share addresses.