MEDIUM5.3
PYSEC-2026-2459
Apache Doris MCP Server vulnerable to SQL Injection via improper query context neutralization
Quick fix
PYSEC-2026-2459 — doris-mcp-server: upgrade to the fixed version with the command below.
pip install --upgrade 'doris-mcp-server>=0.6.1'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.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/doris-mcp-server
Introduced in:
0.1.0Fixed in: 0.6.1Fix
pip install --upgrade 'doris-mcp-server>=0.6.1'References
- https://nvd.nist.gov/vuln/detail/CVE-2025-66335[ADVISORY]
- https://github.com/apache/doris-mcp-server[PACKAGE]
- https://github.com/apache/doris-mcp-server/releases/tag/0.6.1[WEB]
- https://lists.apache.org/thread/odp0fyyst8kxm7hhm9z4d1snh1y4hjpy[WEB]
- http://www.openwall.com/lists/oss-security/2026/04/17/4[WEB]
- https://pypi.org/project/doris-mcp-server[PACKAGE]
- https://github.com/advisories/GHSA-qhfq-gvvc-5q6q[ADVISORY]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:pypi/doris-mcp-server"]}'