CVE-2025-66336
JSON

8.1high

Apache Doris MCP Server: SQL injection leading the authentication bypass

Severity
8.1high CVSS:3.1 by CISA-ADP
Exploit likelihood
0.56% (higher than 40% of CVEs)
Published
Last changed
Assigned by
apache
Also known as
GHSA-pqrj-4gwg-h5f7PYSEC-2026-4048

Description

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.

Affected

Product or packageVersionsReported by
doris-mcp-serverfrom 0.1.0 before 0.6.1CVE List
doris-mcp-server (PyPI)before 0.6.1GitHub Advisory Database, PyPA Advisory Database
apache doris_mcp_serverfrom 0.1.0 before 0.6.1NVD

All scores

CISA-ADP8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
GitHub8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
PyPA Advisory Database8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Classification

CWE-89

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

Apache Doris MCP Server contiene una vulnerabilidad de inyección SQL en una ruta de consulta de metadatos. Un nombre de base de datos controlado por el usuario se interpola directamente en una consulta SQL, y la consulta se ejecuta sin pasar el contexto de autorización del llamante. Esto puede permitir a un atacante autenticado, o a un atacante anónimo si la autenticación está deshabilitada, eludir la validación de seguridad SQL y acceder a metadatos fuera del alcance de la base de datos previsto. Se recomienda a los usuarios afectados actualizar a la versión 0.6.1 de Doris o posterior, que corrige el problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-66336 changed 2026-06-22CVE Terms of Use
GitHub Advisory DatabaseGHSA-pqrj-4gwg-h5f7 changed 2026-10-01CC-BY-4.0
NVDCVE-2025-66336 changed 2026-10-06Public domain
PyPA Advisory DatabasePYSEC-2026-4048 changed 2026-10-01CC-BY-4.0