Advisory

PYSEC-2026-4048

Also known as: CVE-2025-66336, GHSA-pqrj-4gwg-h5f7

Summary

Apache Doris MCP Server is vulnerable to SQL Injection via metadata query path

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.

Severity

High Basis: CVSS v3 score 8.1, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Dates

Published
2026-10-01 16:38 UTC
Modified
2026-10-01 17:45 UTC

Affected packages and fixes

doris-mcp-server

PyPI · All systems

Affected

  • introduced 0, fixed 0.6.1 (ecosystem)

Fixed versions

0.6.1

Fix

  • Fixed version 0.6.1
    pip install --upgrade doris-mcp-server==0.6.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences