CVE-2025-66335: Apache Doris MCP Server vulnerable to SQL Injection via improper query context neutralization

CVE-2025-66335 · Severity: medium · CVSS 5.3 · Published 2026-04-20

Apache Doris MCP Server versions earlier than 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. Version 0.6.1 and later are not affected.

Technologies: doris-mcp-server (PyPI). Vendors: Apache, PyPI.

Quick answers

Is CVE-2025-66335 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-66335 being exploited in the wild.
How severe is CVE-2025-66335?
Medium severity, with a CVSS score of 5.3, published 20 April 2026.
Which products and versions are affected?
doris-mcp-server (PyPI) >= 0.1.0, < 0.6.1, ECOSYSTEM:introduced=0.1.0,fixed=0.6.1.
Is there a fix for CVE-2025-66335?
Yes. doris-mcp-server (PyPI): upgrade to 0.6.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-66335?
Check whether you run Apache Doris Mcp Server or doris-mcp-server (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • doris-mcp-server (PyPI): upgrade to 0.6.1 or later
    pip install "doris-mcp-server>=0.6.1"

Affected products

  • Apache Doris Mcp Server
  • doris-mcp-server (PyPI) >= 0.1.0, < 0.6.1, ECOSYSTEM:introduced=0.1.0,fixed=0.6.1

Identifiers

  • CVE-2025-66335
  • GHSA-qhfq-gvvc-5q6q
  • PYSEC-2026-2459

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.