{"id":"CVE-2026-105697","published":"2026-10-05T21:16:35.087","lastModified":"2026-10-09T20:17:09.307","description":"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.","cvssScore":9.9,"cvssSeverity":"CRITICAL","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","cwes":["CWE-78"],"vendors":[],"products":[],"references":[{"url":"https://github.com/langflow-ai/langflow/commit/eba285edf1dd4a33bf23a9cb8113c991fcdf3d1d","tags":[]},{"url":"https://github.com/langflow-ai/langflow/commit/efbc4a16e639409d938a4883463d27ef0bc637a0","tags":[]},{"url":"https://github.com/langflow-ai/langflow/pull/12290","tags":[]},{"url":"https://github.com/langflow-ai/langflow/pull/14036","tags":[]},{"url":"https://github.com/langflow-ai/langflow/releases/tag/v1.10.3","tags":[]},{"url":"https://github.com/langflow-ai/langflow/security/advisories/GHSA-7w94-79vh-5mr2","tags":[]},{"url":"https://github.com/langflow-ai/langflow/security/advisories/GHSA-w794-rj3p-xv45","tags":[]},{"url":"https://www.ox.security/blog/mcp-supply-chain-advisory-rce-vulnerabilities-across-the-ai-ecosystem","tags":[]},{"url":"https://www.ox.security/blog/the-mother-of-all-ai-supply-chains-critical-systemic-vulnerability-at-the-core-of-the-mcp","tags":[]}],"exploitRefs":[{"url":"https://github.com/langflow-ai/langflow/commit/eba285edf1dd4a33bf23a9cb8113c991fcdf3d1d","tags":[]},{"url":"https://github.com/langflow-ai/langflow/commit/efbc4a16e639409d938a4883463d27ef0bc637a0","tags":[]},{"url":"https://github.com/langflow-ai/langflow/pull/12290","tags":[]},{"url":"https://github.com/langflow-ai/langflow/pull/14036","tags":[]},{"url":"https://github.com/langflow-ai/langflow/releases/tag/v1.10.3","tags":[]},{"url":"https://github.com/langflow-ai/langflow/security/advisories/GHSA-7w94-79vh-5mr2","tags":[]},{"url":"https://github.com/langflow-ai/langflow/security/advisories/GHSA-w794-rj3p-xv45","tags":[]}],"hasPoc":true,"ai":{"summary":"The flaw allows arbitrary OS command execution due to lack of input validation and proper sandboxing, posing a critical risk.","exploitability":"Exploitation is relatively easy as any user with access to the MCP server settings can inject commands. Precondition is having access to the Langflow instance.","blast_radius":"If exploited, the attacker could gain full control over the host system, leading to severe data loss or system compromise.","remediation":"Upgrade to Langflow 1.10.3, langflow-base 0.10.3, or lfx 1.10.3 immediately.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["rce","web","arbitrary-execution"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-10-06T08:44:21.314Z"}}