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 package | Versions | Reported by |
|---|---|---|
| doris-mcp-server | from 0.1.0 before 0.6.1 | CVE List |
| doris-mcp-server (PyPI) | before 0.6.1 | GitHub Advisory Database, PyPA Advisory Database |
| apache doris_mcp_server | from 0.1.0 before 0.6.1 | NVD |
All scores
| CISA-ADP | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| PyPA Advisory Database | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
Classification
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
| 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 | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-66336 changed 2026-06-22 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-pqrj-4gwg-h5f7 changed 2026-10-01 | CC-BY-4.0 |
| NVD | CVE-2025-66336 changed 2026-10-06 | Public domain |
| PyPA Advisory Database | PYSEC-2026-4048 changed 2026-10-01 | CC-BY-4.0 |