SQL Injection Affecting doris-mcp-server package, versions [,0.6.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.56% (44th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-DORISMCPSERVER-17400376
  • published22 Jun 2026
  • disclosed22 Jun 2026
  • creditcherno.x.

Introduced: 22 Jun 2026

CVE-2025-66336  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade doris-mcp-server to version 0.6.1 or higher.

Overview

doris-mcp-server is an Enterprise-grade Model Context Protocol (MCP) server implementation for Apache Doris

Affected versions of this package are vulnerable to SQL Injection via the metadata query path. An attacker can gain unauthorized access to metadata outside the intended database scope by injecting crafted input into the database name parameter, which is directly interpolated into a SQL query and executed without proper authorization context.

CVSS Base Scores

version 4.0
version 3.1