{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-59971","published":"2026-09-15T15:17:19.947000Z","last_modified":"2026-09-30T17:43:24.057000Z","status":"Awaiting Analysis","cvss":{"version":"3.1","score":10.0,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-306","CWE-346"],"cpes":[],"cpes_truncated":false,"vendors":["designcomputer"],"products":["designcomputer/mysql_mcp_server"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-rqfv-2mw9-78g2","ecosystem":"PyPI","name":"mysql-mcp-server","purl":"pkg:pypi/mysql-mcp-server","ranges":[{"introduced":"0","fixed":"0.4.2"}],"versions":["0.1.0","0.1.2","0.2.0","0.2.1","0.2.2","0.3.0","0.3.1","0.4.0","0.4.1"],"versions_truncated":false},{"advisory":"PYSEC-2026-4109","ecosystem":"PyPI","name":"mysql-mcp-server","purl":"pkg:pypi/mysql-mcp-server","ranges":[{"introduced":"0","fixed":"0.4.2"}],"versions":["0.1.0","0.1.2","0.2.0","0.2.1","0.2.2","0.3.0","0.3.1","0.4.0","0.4.1"],"versions_truncated":false}],"severity":"critical","priority_score":75,"links":{"html_es":"/es/cve/CVE-2026-59971/","html_en":"/en/cve/CVE-2026-59971/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-59971","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-59971"},"untrusted":{"vendor_name":"designcomputer","product_name":"mysql_mcp_server","desc_en":"MySQL MCP Server is a Model Context Protocol server that enables secure interaction with MySQL databases. Prior to 0.4.2, setting MCP_TRANSPORT=sse causes src/mysql_mcp_server/server.py to construct SseServerTransport without security_settings or enable_dns_rebinding_protection, while the Starlette routes /, /sse, and /messages/ have no authentication and the service binds to 0.0.0.0 by default. A network attacker can directly reach execute_sql, or can use DNS rebinding to make a victim's browser relay same-origin requests to a locally bound service, and supply a query that reaches cursor.execute(query). This allows unauthenticated disclosure and modification of the configured database; when the MySQL account has FILE privileges, the same access can read or write server files and may enable code execution. The default stdio transport is not affected. This issue is fixed in 0.4.2.","affected":[{"untrusted_vendor":"designcomputer","untrusted_product":"mysql_mcp_server","versions":[]}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"fff6ec222ec633dd5681b3d81454c222","generated":"2026-11-26T23:34:58.312320Z","es":{"untrusted_title":"Acceso no autenticado a base de datos MySQL en MySQL MCP Server","untrusted_summary":"MySQL MCP Server anterior a 0.4.2 expone endpoints sin autenticación cuando se usa el transporte SSE, permitiendo a atacantes remotos ejecutar consultas SQL arbitrarias contra la base de datos configurada. Un atacante puede acceder directamente a través de la red o usar DNS rebinding para comprometer la integridad y confidencialidad de los datos; si la cuenta MySQL tiene privilegios FILE, también es posible leer o escribir archivos del servidor."},"en":{"untrusted_title":"Unauthenticated database access in MySQL MCP Server","untrusted_summary":"MySQL MCP Server prior to 0.4.2 exposes unauthenticated endpoints when using SSE transport, allowing remote attackers to execute arbitrary SQL queries against the configured database. An attacker can access directly over the network or use DNS rebinding to compromise data integrity and confidentiality; if the MySQL account has FILE privileges, reading or writing server files and potentially achieving code execution is also possible."},"remediation":{"status":"fix","fixed_versions":["0.4.2"],"untrusted_action_es":"Actualiza mysql-mcp-server a versión 0.4.2 o superior. Si usas el transporte SSE, verifica que la configuración incluya security_settings y enable_dns_rebinding_protection habilitados.","untrusted_action_en":"Update mysql-mcp-server to version 0.4.2 or later. If using SSE transport, verify that security_settings and enable_dns_rebinding_protection are enabled in the configuration.","vendor_url":"https://github.com/designcomputer/mysql_mcp_server/releases/tag/v0.4.2"},"reviewed":false},"references":[{"url":"https://github.com/designcomputer/mysql_mcp_server/commit/a96549f4a4d65443fd6e9c7f2324fba9a5c80a82","tags":[]},{"url":"https://github.com/designcomputer/mysql_mcp_server/issues/92","tags":[]},{"url":"https://github.com/designcomputer/mysql_mcp_server/releases/tag/v0.4.2","tags":[]},{"url":"https://github.com/designcomputer/mysql_mcp_server/security/advisories/GHSA-rqfv-2mw9-78g2","tags":[]}]}}