PyPA Advisory Database
PYSEC-2026-2459
Apache Doris MCP Server vulnerable to SQL Injection via improper query context neutralization
Details
Apache Doris MCP Server versions prior to 0.6.1 are affected by an improper neutralization flaw in query context handling that may allow execution of unintended SQL statements and bypass of intended query validation and access restrictions through the MCP query execution interface. Versions 0.6.1 and later are not affected.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | doris-mcp-server | From 0.1.0 before 0.6.1 (fixed in 0.6.1) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-66335
- https://github.com/apache/doris-mcp-server
- https://github.com/apache/doris-mcp-server/releases/tag/0.6.1
- https://lists.apache.org/thread/odp0fyyst8kxm7hhm9z4d1snh1y4hjpy
- http://www.openwall.com/lists/oss-security/2026/04/17/4
- https://pypi.org/project/doris-mcp-server
- https://github.com/advisories/GHSA-qhfq-gvvc-5q6q