Apache Doris MCP Server is vulnerable to SQL Injection via metadata query path
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.
PYSEC-2026-4048
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:PYSEC-2026-4048
doris-mcp-server
Source reference: /affected/0/package/name
- Affected versions
- 0.4.2
Source reference:
/affected/0/versions0.5.0Source reference:
/affected/0/versions0.5.1Source reference:
/affected/0/versions0.6.0Source reference:
/affected/0/versions - Fixed versions
- 0.6.1
Source reference:
/affected/0/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.6.1"
}
]
}
],
"package": {
"name": "doris-mcp-server",
"purl": "pkg:pypi/doris-mcp-server",
"ecosystem": "PyPI"
},
"versions": [
"0.4.2",
"0.5.0",
"0.5.1",
"0.6.0"
],
"database_specific": {
"source": "https://github.com/pypa/advisory-database/blob/main/vulns/doris-mcp-server/PYSEC-2026-4048.yaml"
}
}
]- Related CVEs
- CVE-2025-66336
Source reference:
/aliases
Publisher severity
No explicit severity was provided.
- Event
- #62482 · Revision 1
- Added to Heist Feed
- Publisher date