Amenazas en vivo

Todas las CVE / designcomputer

CVE-2026-59971designcomputer mysql_mcp_server

Acceso no autenticado a base de datos MySQL en MySQL MCP Server

Crítica 10.0 Sin autenticación

Prioridad
75
CVSS 3.1
10.0
EPSS
—
Requiere autenticación
No
Publicada
15 sep 2026
Actualizada
30 sep 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-306, CWE-346
SSVC (CISA)
Explotación: ninguna · Automatizable: no · Impacto técnico: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Qué pasa

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.

Ver el texto original de NVD (en inglés)

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.

Texto de la fuente, sin modificar. NVD.

Qué hacer

Hay parche · versiones corregidas: 0.4.2

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.

Aviso del fabricante · github.com ↗

  1. Aplica la actualización de seguridad del fabricante para mysql_mcp_server.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
PyPI mysql-mcp-server < 0.4.2 0.4.2 pip install "mysql-mcp-server>=0.4.2"
PyPI mysql-mcp-server < 0.4.2 0.4.2 pip install "mysql-mcp-server>=0.4.2"

Según OSV / GitHub Advisories (GHSA-rqfv-2mw9-78g2, PYSEC-2026-4109). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados

Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.