Skip to content

CVE-2025-66336 Apache Doris MCP Server: SQL injection leading the authentication bypass

HighCVSS 8.1 EPSS 0.56%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

Description

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
apache doris mcp server >= 0.1.0, < 0.6.1 0.6.1 Fixed
pypi doris-mcp-server(PyPI) < 0.6.1; = 0.4.2; = 0.5.0; = 0.5.1 +2 more 0.6.1 Fixed

Affected products

ProductAffected versionsFixed in
pypi doris-mcp-server(PyPI) < 0.6.1 0.6.1
pypi doris-mcp-server(PyPI) = 0.4.2 No fix listed
pypi doris-mcp-server(PyPI) = 0.5.0 No fix listed
pypi doris-mcp-server(PyPI) = 0.5.1 No fix listed
pypi doris-mcp-server(PyPI) = 0.6.0 No fix listed
pypi doris-mcp-server(PyPI) >= 0.1.0, < 0.6.1 0.6.1
apache doris mcp server >= 0.1.0, < 0.6.1 0.6.1

References