Apache Doris MCP Server: SQL injection leading the authentication bypass
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-89.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Doris MCP Server | 0.1.0 to before 0.6.1 | 0.6.1 | Patch available | CNA |
| — | doris-mcp-server (PyPI) | before 0.6.1 | 0.6.1 | Patch available | GHSA-pqrj-4gwg-h5f7 |
- Apache Doris MCP Server VendorApache Affected 0.1.0 to before 0.6.1 Fixed in 0.6.1 Patch available CNA
- doris-mcp-server (PyPI) Vendor— Affected before 0.6.1 Fixed in 0.6.1 Patch available GHSA-pqrj-4gwg-h5f7
Remediation
- Fix · CNA Apache Doris MCP Server (Apache Software Foundation) Fixed in 0.6.1
- Fix · GHSA-pqrj-4gwg-h5f7 doris-mcp-server (PyPI) Fixed in 0.6.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-66336
- 2026-10-03 Alias added: GHSA-pqrj-4gwg-h5f7
References
More Apache Doris Mcp Server vulnerabilities
- TI-2025-40806 Apache Doris MCP Server: MCP SQL inject CVSS 3.1MEDIUM 5.3
- TI-2025-36129 Apache Doris-MCP-Server: Improper Access Control results in bypassing a "read-only" mode for doris-mcp-server MCP Server CVSS 3.1MEDIUM 5.4
Sources
- CVE-2025-66336 · CVE Program
- CVE-2025-66336 · NVD
- FIRST EPSS
- GHSA-pqrj-4gwg-h5f7 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences