{"id":"CVE-2025-66336","state":"PUBLISHED","title":"Apache Doris MCP Server: SQL injection leading the authentication bypass","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.\n\nAffected users are recommended to upgrade to Doris version 0.6.1 or later, which fixes the issue.","publishedAt":"2026-06-22T06:55:17.988Z","updatedAt":"2026-06-22T15:49:55.563Z","severity":{"score":8.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"CISA-ADP"},"assigner":"apache","products":["Apache Software Foundation Apache Doris MCP Server"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Doris MCP Server","packageName":"doris-mcp-server","defaultStatus":"unaffected","versions":[{"version":"0.1.0","status":"affected","lessThan":"0.6.1","versionType":"semver"}],"collectionURL":"https://pypi.python.org"}],"references":["https://lists.apache.org/thread/4l4v3m7ofwrgp4s4s98pjb5l03fcrzo2","http://www.openwall.com/lists/oss-security/2026/06/22/1"],"weaknesses":["CWE-89"],"ingestedAt":"2026-10-29T20:09:56.034Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/66xxx/CVE-2025-66336.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-66336","state":"PUBLISHED","datePublished":"2026-06-22T06:55:17.988Z","dateUpdated":"2026-06-22T15:49:55.563Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2025-11-27T03:24:32.530Z"},"containers":{"cna":{"title":"Apache Doris MCP Server: SQL injection leading the authentication bypass","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache Doris MCP Server","packageName":"doris-mcp-server","defaultStatus":"unaffected","versions":[{"version":"0.1.0","status":"affected","lessThan":"0.6.1","versionType":"semver"}],"collectionURL":"https://pypi.python.org"}],"references":[{"url":"https://lists.apache.org/thread/4l4v3m7ofwrgp4s4s98pjb5l03fcrzo2","tags":["vendor-advisory"]}],"metrics":[{"other":{"content":{"text":"important"},"type":"Textual description of severity"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","description":"CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateUpdated":"2026-06-22T06:55:17.988Z"},"credits":[{"lang":"en","type":"reporter","value":"cherno.x."}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/06/22/1"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-06-22T07:58:10.548Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":8.1,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-06-22T15:49:32.488671Z","id":"CVE-2025-66336","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-06-22T15:49:55.563Z"}}]}}}