CVE-2026-79748samanhappy mcphub
Ejecución remota de código sin autorización en MCPHub
Crítica 9.9
Seguir: esta CVE · samanhappy · samanhappy mcphub Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 59
- CVSS 3.1
- 9.9
- EPSS
- —
- Requiere autenticación
- Sí
- Publicada
- 31 ago 2026
- Actualizada
- 8 sep 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-862
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: no · Impacto técnico: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Qué pasa
MCPHub anterior a versión 0.12.15 permite que usuarios autenticados sin permisos de administrador ejecuten código arbitrario. Los endpoints POST /api/servers y PUT /api/servers/:name no validan autorización ni sanitizan los parámetros command y args, permitiendo que un atacante autenticado lance procesos del sistema operativo con los permisos del servidor MCPHub.
Ver el texto original de NVD (en inglés)
MCPHub is a unified hub for centrally managing and dynamically orchestrating multiple MCP servers/APIs into separate endpoints with flexible routing strategies. Prior to version 0.12.15, the POST /api/servers and PUT /api/servers/:name endpoints in MCPHub create/update MCP server configurations and then immediately spawn the configured stdio process via child_process.spawn. Authentication is required, but there is no authorization check restricting these endpoints to admins, and there is no allowlist/sanitization on the command and args fields. As a result, any authenticated non-admin user can submit a server configuration with command:"/bin/sh" (or any other binary) and arbitrary args, causing MCPHub to execute the attacker-controlled process as the MCPHub server's OS user (commonly root in the published Docker image and in npx/systemd deployments). This issue has been patched in version 0.12.15.
Qué hacer
Hay parche · versiones corregidas: 0.12.15
Actualiza MCPHub a versión 0.12.15 o superior para aplicar las restricciones de autorización y validación de parámetros.
- Aplica la actualización de seguridad del fabricante para mcphub.
Productos afectados
- samanhappy · mcphub
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.