vulnerableVerifiedAGT-2026-0155
doris-mcp-server: Apache Doris MCP Server is vulnerable to SQL Injection via metadata query path
A real bug in otherwise honest software. Check your version against the affected range below.
GHSA-pqrj-4gwg-h5f7 · CVE-2025-66336 · PYSEC-2026-4048
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.
Imported from OSV GHSA-pqrj-4gwg-h5f7.
Affected
- PyPI:doris-mcp-server
- < 0.6.1 (fixed in 0.6.1)
Field marks
- Kind
- mcp server
- Reported by
- osv-import
Sources
- osv.dev https://osv.dev/vulnerability/GHSA-pqrj-4gwg-h5f7
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-66336
- github.com https://github.com/apache/doris-mcp-server/pull/68
- github.com https://github.com/apache/doris-mcp-server
- lists.apache.org https://lists.apache.org/thread/4l4v3m7ofwrgp4s4s98pjb5l03fcrzo2
- openwall.com http://www.openwall.com/lists/oss-security/2026/06/22/1
Wrong or outdated? Open an issue or PR against corpus/entries/AGT-2026-0155.json.