Skip to content
OpenAdvisories
Critical · 9.9 Public exploit CVE-2026-105697 EUVD-2026-92788GHSA-w794-rj3p-xv45PYSEC-2026-4237PYSEC-2026-4239PYSEC-2026-4241

Langflow: OS command injection (RCE) via arbitrary command in MCP stdio server configuration

Published Oct 5, 2026 · Updated Oct 9, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
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 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • Iceman2050/mcp-patch-gap-scanner ★ 0 · Oct 18, 2026

    Deterministic CVE patch-gap reports for MCP servers (Oct 2026 cluster: Langflow RCE CVE-2026-105697, fetch SSRF CVE-2026-104120, x64dbg CVE-2026-107824, MCP SDK OAuth theft)

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI langflow >= 1.1.2, < 1.10.3 1.10.3 GHSA-w794-rj3p-xv45
PyPI langflow-base >= 0.1.2, < 0.10.3 0.10.3 GHSA-w794-rj3p-xv45
PyPI lfx < 1.10.3 1.10.3 GHSA-w794-rj3p-xv45

Advisories 1

References