# CVE-2025-58337: PYSEC-2026-1315 - Apache Doris-MCP-Server: Improper Access Control results in bypassing a "read-only" mode

Source: https://junglewise.ai/threats/cve-2025-58337-apache-doris-mcp-server-improper-access-control-results-in  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-11-05  
License: CC BY 4.0 with a link back

CVE-2025-58337 · Severity: medium · CVSS 5.4 · Published 2025-11-05

An attacker with a valid read-only account can bypass Doris MCP Server’s read-only mode due to improper access control, allowing modifications that should have been prevented by read-only restrictions.


Impact:

Bypasses read-only mode; attackers with read-only access may perform unauthorized modifications.




Recommended action for operators: Upgrade to version 0.6.0 as soon as possible (this release contains the fix).

Technologies: [doris-mcp-server (PyPI)](https://junglewise.ai/threats/technologies/doris-mcp-server). Vendors: [Apache](https://junglewise.ai/threats/vendors/apache), [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2025-58337 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-58337 being exploited in the wild.

**How severe is CVE-2025-58337?** Medium severity, with a CVSS score of 5.4, published 5 November 2025.

**Which products and versions are affected?** doris-mcp-server (PyPI) ECOSYSTEM:introduced=0,fixed=0.6.0.

**Is there a fix for CVE-2025-58337?** Yes. doris-mcp-server (PyPI): upgrade to 0.6.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-58337?** Check whether you run Apache Doris Mcp Server or doris-mcp-server (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- doris-mcp-server (PyPI): upgrade to 0.6.0 or later

  ```sh
  pip install "doris-mcp-server>=0.6.0"
  ```


## Affected products

- Apache Doris Mcp Server
- doris-mcp-server (PyPI) ECOSYSTEM:introduced=0,fixed=0.6.0

## Identifiers

- CVE-2025-58337
- GHSA-m35w-xx8c-6xc7
- PYSEC-2026-1315

## Related threats

- [Apache Doris MCP Server SQL injection in metadata query path](https://junglewise.ai/threats/cve-2025-66336-apache-doris-mcp-server-sql-injection-in-metadata-query-path)
- [Apache Doris MCP Server vulnerable to SQL Injection via improper query context neutralization](https://junglewise.ai/threats/cve-2025-66335-apache-doris-mcp-server-vulnerable-to-sql-injection-via-improper)
