CVE-2026-105697langflow-ai langflow
Ejecución remota de código en configuración de servidores MCP en Langflow
Crítica 9.9
Seguir: esta CVE · langflow-ai · langflow-ai langflow Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 59
- CVSS 3.1
- 9.9
- EPSS
- —
- Requiere autenticación
- Sí
- Publicada
- 5 oct 2026
- Actualizada
- 9 oct 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-78
- SSVC (CISA)
- Explotación: ninguna · 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
Langflow antes de la versión 1.10.3 permite a usuarios autenticados ejecutar comandos arbitrarios del sistema operativo a través de la configuración de servidores MCP sin validación. Un atacante puede añadir un servidor MCP malicioso cuyo comando se ejecuta en el host de Langflow con los permisos del proceso. Con AUTO_LOGIN habilitado (configuración por defecto), la vulnerabilidad es accesible sin autenticación.
Ver el texto original de NVD (en inglés)
Langflow is a tool for building and deploying AI-powered agents and workflows. Before Langflow 1.10.3, the MCP stdio transport launched whatever command / args a user put in an MCP server configuration, with no allowlist and (before 1.10.3) wrapped in bash -c "exec {command} ...". Any user able to reach the MCP server settings ("Settings → MCP Servers → Add MCP Server", POST/PATCH /api/v2/mcp/servers/{server_name}) or to build a flow with the MCP Tools component could add a "server" whose command is an arbitrary OS command (touch, rm -rf, a reverse shell, ...). The command runs on the Langflow host as the Langflow process user as soon as Langflow tries to connect to the server (listing servers, loading tools, running the flow) — even when the UI then reports that the stdio server failed to start. With the default LANGFLOW_AUTO_LOGIN=true, GET /api/v1/auto_login hands out a token without credentials, so on an exposed instance running the default configuration this is reachable without an account. AUTO_LOGIN is documented as a development-only setting; with it disabled, any authenticated (non-admin) user can exploit it. This issue is fixed in Langflow 1.10.3, langflow-base 0.10.3, and lfx 1.10.3.
Qué hacer
Hay parche · versiones corregidas: 1.10.3
Actualiza Langflow a versión 1.10.3 o superior, langflow-base a 0.10.3 o superior, y lfx a 1.10.3 o superior. Desactiva LANGFLOW_AUTO_LOGIN en producción.
- Aplica la actualización de seguridad del fabricante para langflow.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | langflow |
≥ 1.1.2 < 1.10.3 |
1.10.3 |
pip install "langflow>=1.10.3" |
| PyPI | langflow |
≥ 1.1.2 < 1.10.3 |
1.10.3 |
pip install "langflow>=1.10.3" |
| PyPI | langflow-base |
≥ 0.1.2 < 0.10.3 |
0.10.3 |
pip install "langflow-base>=0.10.3" |
| PyPI | langflow-base |
≥ 0.1.2 < 0.10.3 |
0.10.3 |
pip install "langflow-base>=0.10.3" |
| PyPI | lfx |
< 1.10.3 |
1.10.3 |
pip install "lfx>=1.10.3" |
| PyPI | lfx |
< 1.10.3 |
1.10.3 |
pip install "lfx>=1.10.3" |
Según OSV / GitHub Advisories (GHSA-w794-rj3p-xv45, PYSEC-2026-4237, PYSEC-2026-4239, PYSEC-2026-4241). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- langflow-ai · langflow
- langflow-ai · langflow-base
- langflow-ai · lfx
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.