CVE-2025-58337: Apache Doris-MCP-Server Improper Access Control Results Vulnerability
MODERATECVE-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
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.
pip install doris-mcp-server>=0.6.0
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
CVE-2025-58337 Affected Apache Doris-MCP-Server Versions
1 component(s)| 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?
Which Apache Doris-MCP-Server versions are affected?
What version fixes CVE-2025-58337?
Is doris-mcp-server affected?
What CWE is associated with CVE-2025-58337?
How can I check PyPI dependencies for CVE-2025-58337?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}