Medium
Apache Doris MCP Server: MCP SQL inject
Type: advisorySources: OSV
Apache Doris MCP Server versions earlier than 0.6.1 are affected by an improper neutralization flaw in query context handling that may allow execution of unintended SQL statements and bypass of intended query validation and access restrictions through the MCP query execution interface. Version 0.6.1 and later are not affected.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-66335
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 20:19 UTC · Revision 1
Source evidence
Apache Doris MCP Server versions earlier than 0.6.1 are affected by an improper neutralization flaw in query context handling that may allow execution of unintended SQL statements and bypass of intended query validation and access restrictions through the MCP query execution interface. Version 0.6.1 and later are not affected.
osv:CVE-2025-66335
Complete source record
{
"id": "5e3d7db065090181d2a4b3624f30e4e631cc60527da0753a5caf39558cedbdb9",
"url": "https://osv.dev/vulnerability/CVE-2025-66335",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Apache Doris MCP Server: MCP SQL inject",
"summary": "Apache Doris MCP Server versions earlier than 0.6.1 are affected by an improper neutralization flaw in query context handling that may allow execution of unintended SQL statements and bypass of intended query validation and access restrictions through the MCP query execution interface. Version 0.6.1 and later are not affected.",
"evidence": "osv:CVE-2025-66335",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2025-66335",
"aliases": [
"CVE-2025-66335",
"GHSA-qhfq-gvvc-5q6q",
"PYSEC-2026-2459"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/apache/doris-mcp-server",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "81305ffbf97482e29abf70dc0ba9be928ed39df5"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:apache:doris_mcp_server:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.1.0"
},
{
"fixed": "0.6.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"0.6.0",
"0.5.1",
"0.4.2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-66335.json"
}
}
],
"modified": "2026-10-28T02:30:23.246174168Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66335.json",
"https://lists.apache.org/thread/odp0fyyst8kxm7hhm9z4d1snh1y4hjpy",
"https://nvd.nist.gov/vuln/detail/CVE-2025-66335"
],
"provider_metadata": {
"cwe_ids": [
"CWE-89"
],
"cna_assigner": "apache",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "0.1.0"
},
{
"fixed": "0.6.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/66xxx/CVE-2025-66335.json"
}
},
"related_cves": [
{
"value": "CVE-2025-66335",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 489757,
"published_at": "2026-04-20T13:27:27.764+00:00"
}