CVE-2025-66336
HIGH 8.1CVSS 3.1Apache Doris MCP Server is vulnerable to SQL Injection via metadata query path
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.
- Published
- 22 Jun 2026
- Last modified
- 6 Oct 2026
- Assigned by
- security@apache.org
- NVD status
- Analyzed
- Weakness
- CWE-89
- Also known as
- GHSA-pqrj-4gwg-h5f7PYSEC-2026-4048
- Sources
- NVDJSONOSV GHSA-pqrj-4gwg-h5f7JSONOSV PYSEC-2026-4048JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| OSV | PyPA | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | doris_mcp_servercpe:2.3:a:apache:doris_mcp_server:*:*:*:*:*:*:*:* |
>= 0.1.0, < 0.6.1 | 0.6.1 |
| OSV | PyPI | doris-mcp-server | < 0.6.1 | 0.6.1 |
References
- https://lists.apache.org/thread/4l4v3m7ofwrgp4s4s98pjb5l03fcrzo2 · Mailing List, Vendor Advisory, WEB
- http://www.openwall.com/lists/oss-security/2026/06/22/1 · Mailing List, Third Party Advisory, WEB
- 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://pypi.org/project/doris-mcp-server · PACKAGE
- https://github.com/advisories/GHSA-pqrj-4gwg-h5f7 · ADVISORY
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 22 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 Oct 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 22 Jun 2026)