# CVE-2025-66335: Apache Doris MCP Server: MCP SQL inject

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/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.67%, higher than 53% of CVEs (2026-12-01)
- Published: 2026-04-20T13:27:27.764Z
- Modified: 2026-10-07T09:10:00.160Z
- Also known as: GHSA-qhfq-gvvc-5q6q, PYSEC-2026-2459
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: apache

## Description

Apache Doris MCP Server versions earlier than 0.6.1 are affected by an improper neutralization flaw in query context handling that may allow execution of unintended SQL statements and bypass of intended query validation and access restrictions through the MCP query execution interface. Version 0.6.1 and later are not affected.

(As written by CVE List.)

## Affected

- Apache Software Foundation Apache Doris MCP Server: from 0.1.0 before 0.6.1
- doris-mcp-server (PyPI): from 0.1.0 before 0.6.1
- apache doris_mcp_server: from 0.1.0 before 0.6.1

## Every score

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

## References

- <https://lists.apache.org/thread/odp0fyyst8kxm7hhm9z4d1snh1y4hjpy> (vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2026/04/17/4> (mailing-list, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-66335> (advisory)
- <https://github.com/apache/doris-mcp-server> (package)
- <https://github.com/apache/doris-mcp-server/releases/tag/0.6.1> (web)
- <https://pypi.org/project/doris-mcp-server> (package)
- <https://github.com/advisories/GHSA-qhfq-gvvc-5q6q> (advisory)

## Sources

- CVE List: [CVE-2025-66335](https://www.cve.org/CVERecord?id=CVE-2025-66335), CVE Terms of Use, modified 2026-04-20
- GitHub Advisory Database: [GHSA-qhfq-gvvc-5q6q](https://github.com/advisories/GHSA-qhfq-gvvc-5q6q), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2025-66335](https://nvd.nist.gov/vuln/detail/CVE-2025-66335), Public domain, modified 2026-10-07
- PyPA Advisory Database: [PYSEC-2026-2459](https://osv.dev/vulnerability/PYSEC-2026-2459), CC-BY-4.0, modified 2026-07-13

---

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