Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. doris-mcp-server
  4. ›
  5. CVE-2025-66336

CVE-2025-66336: Apache Doris MCP Server is vulnerable to SQL Injection via metadata query path

June 22, 2026 (updated September 11, 2026)

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.

References

  • github.com/advisories/GHSA-pqrj-4gwg-h5f7
  • github.com/apache/doris-mcp-server/pull/68
  • lists.apache.org/thread/4l4v3m7ofwrgp4s4s98pjb5l03fcrzo2
  • nvd.nist.gov/vuln/detail/CVE-2025-66336

Code Behaviors & Features

Detect and mitigate CVE-2025-66336 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.6.1

Fixed versions

  • 0.6.1

Solution

Upgrade to version 0.6.1 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

pypi/doris-mcp-server/CVE-2025-66336.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:20:32 +0000.