Langflow: OS command injection (RCE) via arbitrary command in MCP stdio server configuration
Summary
| CVE | CVE-2026-105697 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-05 21:16:35 UTC |
| Updated | 2026-10-05 21:16:35 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 9.9 CRITICAL from [email protected]
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Problem Types: CWE-78 | CWE-78 CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 9.9 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 9.9 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
ChangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Langflow-ai | Langflow | affected >= 1.1.2, < 1.10.3 | Not specified |
| CNA | Langflow-ai | Langflow-base | affected >= 0.1.2, < 0.10.3 | Not specified |
| CNA | Langflow-ai | Lfx | affected < 1.10.3 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/langflow-ai/langflow/pull/14036 | [email protected] | github.com | |
| github.com/langflow-ai/langflow/releases/tag/v1.10.3 | [email protected] | github.com | |
| github.com/langflow-ai/langflow/security/advisories/GHSA-w794-rj3p-xv45 | [email protected] | github.com | |
| github.com/langflow-ai/langflow/commit/efbc4a16e639409d938a4883463d27ef0... | [email protected] | github.com | |
| github.com/langflow-ai/langflow/pull/12290 | [email protected] | github.com | |
| github.com/langflow-ai/langflow/commit/eba285edf1dd4a33bf23a9cb8113c991f... | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.