CVE-2025-58337: Apache Doris-MCP-Server Improper Access Control Results Vulnerability

MODERATE
Advisory Identifier: GHSA-m35w-xx8c-6xc7
CWE-284
Published
Advisory Summary

CVE-2025-58337 is a MODERATE improper access control results vulnerability (CWE-284: Improper Access Control) affecting Apache Doris-MCP-Server libraries in the PyPI ecosystem. The issue involves improper access control results in bypassing a "read-only" mode. Remediation is available by upgrading affected packages to version 0.6.0.

CVE-2025-58337 at a Glance

CVE Identifier CVE-2025-58337
GHSA Identifier GHSA-m35w-xx8c-6xc7
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-284: Improper Access Control
Affected Product Apache Doris-MCP-Server
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix CVE-2025-58337

To remediate this vulnerability, upgrade all affected Apache Doris-MCP-Server dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

doris-mcp-server fixed: 0.6.0
pip install doris-mcp-server>=0.6.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show doris-mcp-server

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2025-58337, inspect your installed packages using pip:

pip show doris-mcp-server

Analyze the terminal output to locate any version of Apache Doris-MCP-Server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.6.0), your application is affected.

Note: The pip show doris-mcp-server command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Apache Doris-MCP-Server, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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

CVE-2025-58337 Affected Apache Doris-MCP-Server Versions

1 component(s)
Fixed Versions:
0.6.0
Product / Package Ecosystem Affected Versions Fixed Version
doris-mcp-server
PyPI
< 0.6.0
0.6.0

References

Frequently Asked Questions

What is CVE-2025-58337?
CVE-2025-58337 is a security vulnerability in Apache Doris-MCP-Server involving Improper Access Control results in bypassing a "read-only" mode under CWE-284: Improper Access Control.
Which Apache Doris-MCP-Server versions are affected?
Affected versions include releases prior to 0.6.0 across affected packages: doris-mcp-server.
What version fixes CVE-2025-58337?
Upgrading to 0.6.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is doris-mcp-server affected?
Yes, doris-mcp-server is affected in releases prior to 0.6.0. Upgrade your dependency to 0.6.0 or later.
What CWE is associated with CVE-2025-58337?
CVE-2025-58337 is classified under CWE-284: Improper Access Control (The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.).
How can I check PyPI dependencies for CVE-2025-58337?
Run the dependency tree command: 'pip show doris-mcp-server'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-m35w-xx8c-6xc7",
  "modified" : "2025-11-07T16:48:36Z",
  "published" : "2025-11-05T12:30:19Z",
  "aliases" : [ "CVE-2025-58337" ],
  "summary" : "Apache Doris-MCP-Server: Improper Access Control results in bypassing a \"read-only\" mode",
  "details" : "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.\n\nImpact:\n\nBypasses read-only mode; attackers with read-only access may perform unauthorized modifications.\n\nRecommended action for operators: Upgrade to version 0.6.0 as soon as possible (this release contains the fix).",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "doris-mcp-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.6.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-58337"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/doris-mcp-server/commit/5923cc1c8973069a6d54eca1948a10488cbf409e"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/doris-mcp-server"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread/6tswlphj0pqn9zf25594r3c1vzvfj40h"
  }, {
    "type" : "WEB",
    "url" : "https://security.snyk.io/vuln/SNYK-PYTHON-DORISMCPSERVER-13835132"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2025/11/04/5"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-284" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-11-05T18:52:35Z",
    "nvd_published_at" : "2025-11-05T10:15:36Z"
  }
}