CVE-2025-66336 Apache Doris MCP Server: SQL injection leading the authentication bypass
HighCVSS 8.1
EPSS 0.56%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
Apache Doris MCP Server contains a SQL injection vulnerability in a metadata query path. A user-controlled database name is directly interpolated into a SQL query, and the query is executed without passing the caller's authorization context. This may allow an authenticated attacker, or an anonymous attacker if authentication is disabled, to bypass SQL security validation and access metadata outside the intended database scope.
Affected users are recommended to upgrade to Doris version 0.6.1 or later, which fixes the issue.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| apache doris mcp server | >= 0.1.0, < 0.6.1 | 0.6.1 | Fixed |
| pypi doris-mcp-server(PyPI) | < 0.6.1; = 0.4.2; = 0.5.0; = 0.5.1 +2 more | 0.6.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi doris-mcp-server(PyPI) | < 0.6.1 | 0.6.1 |
| pypi doris-mcp-server(PyPI) | = 0.4.2 | No fix listed |
| pypi doris-mcp-server(PyPI) | = 0.5.0 | No fix listed |
| pypi doris-mcp-server(PyPI) | = 0.5.1 | No fix listed |
| pypi doris-mcp-server(PyPI) | = 0.6.0 | No fix listed |
| pypi doris-mcp-server(PyPI) | >= 0.1.0, < 0.6.1 | 0.6.1 |
| apache doris mcp server | >= 0.1.0, < 0.6.1 | 0.6.1 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com product
- lists.apache.org mailing-list vendor-advisory
- www.openwall.com mailing-list third-party-advisory
- pypi.org product
- github.com vendor-advisory