mcp-cve-project

CVE-2025-58337 | Apache Doris MCP Server (doris-mcp-server) | Moderate |

CVE Information

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.

CVE Breakdown


What is the vulnerability?

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.

Attack prerequisites / exposure

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.

CVE is because of what bug?

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.

MCP-specific impact / why it matters

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.

Where was the bug? (source + snippet)