PYSEC-2026-4048
Apache Doris MCP Server is vulnerable to SQL Injection via metadata query path
Quick fix
PYSEC-2026-4048 — 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 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 0.6.1pip install --upgrade 'doris-mcp-server>=0.6.1'References
- https://nvd.nist.gov/vuln/detail/CVE-2025-66336[ADVISORY]
- https://github.com/apache/doris-mcp-server/pull/68[WEB]
- https://github.com/apache/doris-mcp-server[PACKAGE]
- https://lists.apache.org/thread/4l4v3m7ofwrgp4s4s98pjb5l03fcrzo2[WEB]
- http://www.openwall.com/lists/oss-security/2026/06/22/1[WEB]
- https://pypi.org/project/doris-mcp-server[PACKAGE]
- https://github.com/advisories/GHSA-pqrj-4gwg-h5f7[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"]}'