{"id":"CVE-2025-66336","published":"2026-06-22T06:55:17Z","modified":"2026-06-22T15:49:55Z","title":"Apache Doris MCP Server: SQL injection leading the authentication bypass","vendor":"Apache","product":"Apache Doris MCP Server","tier":"tail","description":{"text":"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.\n\nAffected users are recommended to upgrade to Doris version 0.6.1 or later, which fixes the issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00561,"percentile":0.47597,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://lists.apache.org/thread/4l4v3m7ofwrgp4s4s98pjb5l03fcrzo2","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2026/06/22/1","tags":[]}],"priority":{"score":15.2,"factors":[{"name":"EPSS percentile","points":9.52},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache Doris MCP Server","versions":[">= 0.1.0, < 0.6.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-06-22T15:49:32.488671Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"doris-mcp-server","vulnerableRanges":["<0.6.1"],"patched":["0.6.1"],"from":["GHSA-pqrj-4gwg-h5f7","PYSEC-2026-4048"],"provenance":"source"}],"summary":{"text":"The Apache Doris MCP Server contains an SQL injection flaw in a metadata query path, where a user-controlled database name is directly interpolated into a SQL query that runs without the caller's authorization context. An attacker with network access and low privileges (or anonymously, if authentication is disabled) could bypass SQL security validation and reach metadata outside the intended database scope, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:29:25Z"},"euvd":{"id":"EUVD-2025-210295","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-58337","published":"2025-11-05","fixed":"0.6.0","kev":false,"link":{"from":"CVE-2025-58337","to":"CVE-2025-66336","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:doris-mcp-server","fromFixed":"0.6.0","toFixed":"0.6.1","daysApart":229}]}},{"cve":"CVE-2025-66335","published":"2026-04-20","fixed":"0.6.1","kev":false},{"cve":"CVE-2025-66336","published":"2026-06-22","fixed":"0.6.1","kev":false}],"package":"PyPI:doris-mcp-server"}}