mcp-cve-project

CVE-2026-105697 | Langflow: OS command injection (RCE) via arbitrary command in MCP stdio server configuration | Critical |

CVE Information

Field Value
CVE / NVD CVE-2026-105697
Date (index) 2026-10-05
Affected product (index) Langflow: OS command injection (RCE) via arbitrary command in MCP stdio server configuration
GHSA ID GHSA-w794-rj3p-xv45, GHSA-7w94-79vh-5mr2
OWASP MCP Top 10 (2025) MCP05 — Command Injection & Execution
Published / disclosed 2026-10-05
Ecosystem Source repository
Component langflow-ai/langflow; langflow-ai/langflow-base; langflow-ai/lfx
EPSS score 0.009490000 (FIRST EPSS, 2026-11-09)
CVSS score 9.9 CRITICAL CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CWE CWE-78
Affected 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
Fixed versions langflow-ai/langflow: none named; langflow-ai/langflow-base: none named; langflow-ai/lfx: none named
Fix status No fixed version in the published CVE record
Exploit status Public advisory. This note does not include exploit steps.
Notes Updated on 2026-11-09 from the published CVE record and FIRST EPSS.

CVE Breakdown


What is the vulnerability?

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.

Attack prerequisites / exposure

Depends on deployment. Typical MCP cases are a reachable HTTP or SSE listener, a malicious remote MCP server, a poisoned project configuration, or a person opening attacker-influenced content. Developer workstations and shared runners are high-value when the server runs with host access.

CVE is because of what bug?

The published weakness mapping is CWE-78. Use the linked advisory for the upstream root cause.

MCP-specific impact / why it matters

MCP connects a model to tools, files, and credentials on a host or network. A flaw in transport checks, path checks, command handling, or token binding can become code execution, credential exposure, or access to another user’s session.

Where was the bug? (source + snippet)

File and function names belong in the linked upstream advisory and patch. This index does not repeat exploit inputs.

Fix / Remediation

Apply the vendor’s patched release or commit. Until then, keep the affected MCP listener off untrusted networks and require authentication on HTTP transports.

Upstream fix (open source)

Workarounds / mitigations

Detection / verification