Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.9

CVE-2026-105697: Langflow lets attackers run any command on server

CVE-2026-105697 · published 1 month ago
Summary

Versions of Langflow before 1.10.3 let anyone who can add or edit an MCP server configuration insert any system command, which the software then executes on the host machine. This can happen without a password when the default auto‑login setting is left enabled, allowing unauthorized users to run harmful commands. Upgrade to Langflow 1.10.3 (or the matching base and lfx packages) and disable the auto‑login feature to block the problem.

What to do
  • Update langflow to version 1.10.3.
  • Update langflow-base to version 0.10.3.
  • Update lfx to version 1.10.3.
Affected software
Ecosystem VendorProductAffected versions
– langflow-ai langflow >= 1.1.2, < 1.10.3
– langflow-ai langflow-base >= 0.1.2, < 0.10.3
– langflow-ai lfx < 1.10.3
pip – langflow >= 1.1.2, < 1.10.3
Fix: upgrade to 1.10.3
pip – langflow-base >= 0.1.2, < 0.10.3
Fix: upgrade to 0.10.3
pip – lfx < 1.10.3
Fix: upgrade to 1.10.3
Original advisory text
Langflow: OS command injection (RCE) via arbitrary command in MCP stdio server configuration
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.
Fix within
Internet-facing 14 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker full control
Severity
9.9 Critical
Exploitation
1% chance of attack within 30 days
Type
CWE-78OS Command Injection
Timeline
Published5 Oct 2026
Updated26 Nov 2026
First seen5 Oct 2026
Track software like this
Free during beta