CVE-2026-105697
CVE-2026-105697 · Langflow: OS command injection (RCE) via arbitrary command in MCP stdio server configuration
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 9.9 · Critical · EPSS 0.5% · Public exploit · Fix available
- Published
- Updated
Stack: python
Affected products and versions
langflow
- Versions
- >= 1.1.2, < 1.10.3: Affected
No fix published
langflow-base
- Versions
- >= 0.1.2, < 0.10.3: Affected
No fix published
lfx
- Versions
- < 1.10.3: Affected
No fix published
langflow PyPI
- Versions
- 1.1.2
- 1.1.3
- 1.1.4
- 1.1.4.post1
- 1.10.0
- 1.10.0rc0
- 1.10.1
- 1.10.1rc0
- 1.10.1rc3
- 1.10.2
- 1.10.2rc4
- 1.10.3rc0
- 1.2.0
- 1.3.0
- 1.3.1
- 1.3.2
- 1.3.3
- 1.3.4
- 1.4.0
- 1.4.1
- 1.4.2
- 1.4.3
- 1.5.0
- 1.5.0.post1
- 1.5.0.post2
- 1.5.1
- 1.6.0
- 1.6.1
- 1.6.2
- 1.6.3
- 1.6.4
- 1.6.5
- 1.6.6
- 1.6.7
- 1.6.8
- 1.6.9
- 1.7.0
- 1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.2.2
- 0.3.0
- 0.3.0rc0
- 0.3.0rc1
- 0.3.0rc2
- 0.3.0rc3
- 0.3.0rc4
- 0.3.0rc5
- 0.3.0rc6
- 0.3.1
- 0.3.2
- 0.3.3
- 0.3.3rc0
- 0.3.4
- 0.4.0
- 0.4.1
- 0.4.2
- 0.4.3
- 0.4.3rc0
- 0.4.4
- 0.4.5
- 0.4.6
- 0.4.6rc0
- 1.10.0
- 1.10.0rc0
- 1.10.1
- 1.10.1rc0
- 1.10.1rc3
- 1.10.2
- 1.10.2rc4
- 1.10.3rc0
- Affected ranges
- ECOSYSTEM: < 1.10.3
Update to 1.10.3
Original sources
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-w794-rj3p-xv45
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-7w94-79vh-5mr2
- https://github.com/langflow-ai/langflow/pull/12290
- https://github.com/langflow-ai/langflow/pull/14036
- https://github.com/langflow-ai/langflow/commit/eba285edf1dd4a33bf23a9cb8113c991fcdf3d1d
- https://github.com/langflow-ai/langflow/commit/efbc4a16e639409d938a4883463d27ef0bc637a0
- https://github.com/langflow-ai/langflow/releases/tag/v1.10.3
- https://www.ox.security/blog/mcp-supply-chain-advisory-rce-vulnerabilities-across-the-ai-ecosystem
- https://www.ox.security/blog/the-mother-of-all-ai-supply-chains-critical-systemic-vulnerability-at-the-core-of-the-mcp
- https://nvd.nist.gov/vuln/detail/CVE-2026-105697