doris-mcp-server) | Moderate || Field | Value |
|---|---|
| CVE / NVD | CVE-2025-58337 |
| Date (index) | 2025-11-05 |
| Affected product (index) | Apache Doris MCP Server (doris-mcp-server; PyPI) (read-only mode bypass) |
| GHSA ID | GHSA-m35w-xx8c-6xc7 |
| OWASP MCP Top 10 (2025) | MCP02 — Privilege Escalation via Scope Creep |
| Published / disclosed | 2025-11-05 |
| Ecosystem | PyPI |
| Component | Apache Doris MCP Server |
| EPSS score | 0.003360000 (FIRST EPSS, 2026-07-16) |
| CVSS score | MODERATE — CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N (GHSA; base 5.3) |
| CWE | CWE-284 (Improper Access Control) |
| Affected versions | < 0.6.0 |
| Fixed versions | 0.6.0 |
| Fix status | Patched |
| Exploit status | Public advisory |
| Notes | Related sibling advisory: CVE-2025-66335 (SQL injection; fixed 0.6.1). Operators on 0.6.0 should also upgrade to 0.6.1+ for the SQLi fix. |
Apache Doris MCP Server versions prior to 0.6.0 enforce read-only mode incorrectly (CWE-284). An attacker with a valid read-only Doris account can bypass the server’s read-only restrictions and perform modifications that should have been blocked.
Requires credentials for a read-only Doris account and the ability to invoke MCP tools against the affected server. Impact scales with the privileges of the backing Doris role and how broadly the MCP listener is exposed.
Improper access control around the read-only enforcement path in the MCP server, allowing write-capable operations despite a read-only deployment or account configuration.
Read-only mode is a common trust boundary when agents query analytics databases. A bypass turns scoped read automation into unauthorized writes, undermining least-privilege assumptions for MCP-driven data workflows.
Add a minimal vulnerable code snippet here after reviewing the linked commit / release notes.
Upgrade doris-mcp-server on PyPI to 0.6.0 or later for this fix; prefer 0.6.1+ to also address CVE-2025-66335. Restrict network exposure and enforce least-privilege Doris roles for MCP deployments.
Public coordinated disclosure references exist; do not host weaponized payloads in this repository.
doris-mcp-server versions before 0.6.0.https://github.com/apache/doris-mcp-server/commit/5923cc1c8973069a6d54eca1948a10488cbf409e