Live threats

All CVEs / langflow-ai

CVE-2026-105697langflow-ai langflow

Remote code execution in MCP server configuration in Langflow

Critical 9.9

Priority
59
CVSS 3.1
9.9
EPSS
—
Auth required
Yes
Published
Oct 5, 2026
Updated
Oct 9, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-78
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

What happens

Langflow before version 1.10.3 allows authenticated users to execute arbitrary operating system commands through MCP server configuration without validation. An attacker can add a malicious MCP server whose command executes on the Langflow host with process permissions. With AUTO_LOGIN enabled (default setting), the vulnerability is accessible without authentication.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 1.10.3

Update Langflow to version 1.10.3 or later, langflow-base to 0.10.3 or later, and lfx to 1.10.3 or later. Disable LANGFLOW_AUTO_LOGIN in production.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for langflow.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI langflow ≥ 1.1.2 < 1.10.3 1.10.3 pip install "langflow>=1.10.3"
PyPI langflow ≥ 1.1.2 < 1.10.3 1.10.3 pip install "langflow>=1.10.3"
PyPI langflow-base ≥ 0.1.2 < 0.10.3 0.10.3 pip install "langflow-base>=0.10.3"
PyPI langflow-base ≥ 0.1.2 < 0.10.3 0.10.3 pip install "langflow-base>=0.10.3"
PyPI lfx < 1.10.3 1.10.3 pip install "lfx>=1.10.3"
PyPI lfx < 1.10.3 1.10.3 pip install "lfx>=1.10.3"

Per OSV / GitHub Advisories (GHSA-w794-rj3p-xv45, PYSEC-2026-4237, PYSEC-2026-4239, PYSEC-2026-4241). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.