{"id":"CVE-2025-66335","aliases":["CVE-2025-66335","GHSA-qhfq-gvvc-5q6q","PYSEC-2026-2459"],"related":[],"kind":"vulnerability","state":"published","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"Apache Doris MCP Server versions prior to 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. Versions 0.6.1 and later are not affected.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Las versiones de Apache Doris MCP Servidor anteriores a la 0.6.1 se ven afectadas por una vulnerabilidad de neutralización inadecuada en el manejo del contexto de consulta que puede permitir la ejecución de sentencias SQL no intencionadas y la elusión de la validación de consultas prevista y las restricciones de acceso a través de la interfaz de ejecución de consultas de MCP. La versión 0.6.1 y posteriores no se ven afectadas.","source":"nvd"}],"published":"2026-04-20T13:27:27.764Z","modified":"2026-10-07T09:10:00.160Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"type":"semver","introduced":"0.1.0","fixed":"0.6.1","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache Doris MCP Server","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0.1.0","status":"affected","fixed":"0.6.1"}],"ecosystem":"PyPI","package":"doris-mcp-server","purl":"pkg:pypi/doris-mcp-server","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"0.1.0","fixed":"0.6.1"}],"vendor":"apache","product":"doris_mcp_server","cpe":"cpe:2.3:a:apache:doris_mcp_server:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0.1.0","status":"affected","fixed":"0.6.1"}],"ecosystem":"PyPI","package":"doris-mcp-server","purl":"pkg:pypi/doris-mcp-server","source":"pysec"}],"references":[{"url":"https://lists.apache.org/thread/odp0fyyst8kxm7hhm9z4d1snh1y4hjpy","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"http://www.openwall.com/lists/oss-security/2026/04/17/4","tags":["mailing-list","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66335","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/apache/doris-mcp-server","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://github.com/apache/doris-mcp-server/releases/tag/0.6.1","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/doris-mcp-server","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-qhfq-gvvc-5q6q","tags":["advisory"],"sources":["pysec"]}],"credits":["Tomer Peled, Senior Security Researcher at Akamai"],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-04-20T14:17:08.608Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-66335","url":"https://www.cve.org/CVERecord?id=CVE-2025-66335","licence":"CVE Terms of Use","modified":"2026-04-20T14:17:11.395Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qhfq-gvvc-5q6q","url":"https://github.com/advisories/GHSA-qhfq-gvvc-5q6q","licence":"CC-BY-4.0","modified":"2026-07-13T16:43:43.157Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-66335","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66335","licence":"Public domain","modified":"2026-10-07T09:10:00.160Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2459","url":"https://osv.dev/vulnerability/PYSEC-2026-2459","licence":"CC-BY-4.0","modified":"2026-07-13T16:31:44.828Z"}],"updatedAt":"2026-11-25T22:59:12.095Z","epss":{"score":0.00667,"percentile":0.53127,"date":"2026-12-01T12:00:22.000Z"}}