IT SBIT Services
Schneeberger
DEEN
CVE tracker

Langflow: OS command injection via MCP stdio server configuration

CVE-2026-105697Critical 9.9Public exploit

← All vulnerabilities

Summary

Langflow, a platform for building AI agents and workflows, runs the command and arguments of an MCP stdio server configuration on the host without an allowlist before version 1.10.3. A user who can change MCP server settings or build flows with the MCP Tools component can run arbitrary OS commands on the Langflow host as the Langflow process user once Langflow connects to that server. With the default LANGFLOW_AUTO_LOGIN=true, an exposed instance can be attacked without an account; with auto-login disabled, any authenticated non-admin user can exploit it.

Affected

  • langflow (langflow-ai): >= 1.1.2, < 1.10.3
  • langflow-base: >= 0.1.2, < 0.10.3
  • lfx: < 1.10.3

Fixed in

  • langflow 1.10.3
  • langflow-base 0.10.3
  • lfx 1.10.3

Workaround

  • Disable LANGFLOW_AUTO_LOGIN (a development-only setting) so that no token is issued without credentials.
  • Restrict who can add or change MCP server configurations and MCP Tools components.
  • These are compensating controls, not a fix.

Exploitation

  • CISA SSVC: Exploitation none, Automatable no.
  • No confirmed in-the-wild exploitation or public proof of concept for CVE-2026-105697 was found in the sources reviewed.
  • Reports of exploitation concern the related CVE-2026-105740, which shares the code path. These are secondary reports and unverified.

Our recommendation

  • Upgrade to Langflow 1.10.3, langflow-base 0.10.3 or lfx 1.10.3 (or later).
  • Until patched, set LANGFLOW_AUTO_LOGIN=false and do not expose Langflow directly to the internet.
  • Review stored MCP server entries for unexpected commands and check logs for requests to /api/v2/mcp/servers/.
  • Monitor the Langflow host for shells or network tools started by the Langflow process and restrict its outbound connections.

Public exploits

Links to third-party sites, not checked by us – exploit code can contain malware. Only use it in isolated test environments.

Research sources

Researched and written up in English and German by an AI (Claude by Anthropic) based on NVD, CISA, EPSS and the sources listed. The vendor information is authoritative. Researched on 30 Oct 2026, 15:41.

Original description (NVD)

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.

NVD references (9)

Sources

The tracker combines official, freely usable data sources – updated continuously:

This product uses data from the NVD API but is not endorsed or certified by the NVD. EPSS data © FIRST.org.

Affected? We can help.

We check whether your systems are affected, install updates and close the gap – continuously with the System Health Checker if you wish.