# CVE-2025-66336: Apache Doris MCP Server: SQL injection leading the authentication bypass

- Severity: High 8.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 33% of CVEs (2026-12-01)
- Published: 2026-06-22T06:55:17.988Z
- Modified: 2026-10-06T22:10:00.247Z
- Also known as: GHSA-pqrj-4gwg-h5f7, PYSEC-2026-4048
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- doris-mcp-server: from 0.1.0 before 0.6.1
- doris-mcp-server (PyPI): before 0.6.1
- apache doris_mcp_server: from 0.1.0 before 0.6.1

## Every score

- CISA-ADP: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`

## 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

- CVE List: [CVE-2025-66336](https://www.cve.org/CVERecord?id=CVE-2025-66336), CVE Terms of Use, modified 2026-06-22
- GitHub Advisory Database: [GHSA-pqrj-4gwg-h5f7](https://github.com/advisories/GHSA-pqrj-4gwg-h5f7), CC-BY-4.0, modified 2026-10-01
- NVD: [CVE-2025-66336](https://nvd.nist.gov/vuln/detail/CVE-2025-66336), Public domain, modified 2026-10-06
- PyPA Advisory Database: [PYSEC-2026-4048](https://osv.dev/vulnerability/PYSEC-2026-4048), CC-BY-4.0, modified 2026-10-01

---

Page: https://cve.day/CVE-2025-66336 · Whole record: https://cve.day/CVE-2025-66336.json · Rebuilt by cve.day 2026-11-25T22:59:12.337Z
