Skip to content
Heist/ feed
Critical

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

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-105697

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-105697

langflow

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

langflow-base

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

lfx

Source reference: /containers/cna/affected/2/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "langflow-ai",
    "product": "langflow",
    "versions": [
      {
        "status": "affected",
        "version": ">= 1.1.2, < 1.10.3"
      }
    ]
  },
  {
    "vendor": "langflow-ai",
    "product": "langflow-base",
    "versions": [
      {
        "status": "affected",
        "version": ">= 0.1.2, < 0.10.3"
      }
    ]
  },
  {
    "vendor": "langflow-ai",
    "product": "lfx",
    "versions": [
      {
        "status": "affected",
        "version": "< 1.10.3"
      }
    ]
  }
]
Related CVEs
CVE-2026-105697

Source reference: /cveMetadata/cveId

Publisher severity

critical

Source reference: /containers/cna/metrics

Event
#16490 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement