CVE-2026-105697
Langflow: OS command injection (RCE) via arbitrary command in MCP stdio server configuration
- Published
- Updated
- Reserved
- 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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Critical9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVDNVD · Awaiting Analysis | 3.1 | Critical9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.95% · top 39% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.9.
Weakness
Affected products
- affected >= 1.1.2, < 1.10.3
- affected >= 0.1.2, < 0.10.3
- affected < 1.10.3
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPIlangflowGHSA-w794-rj3p-xv45 (opens in a new tab)
- PyPIlangflow-baseGHSA-w794-rj3p-xv45 (opens in a new tab)
- PyPIlfxGHSA-w794-rj3p-xv45 (opens in a new tab)
References (9)
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-w794-rj3p-xv45 (opens in a new tab)x_refsource_CONFIRM
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-7w94-79vh-5mr2 (opens in a new tab)x_refsource_MISC
- https://github.com/langflow-ai/langflow/pull/12290 (opens in a new tab)x_refsource_MISC
- https://github.com/langflow-ai/langflow/pull/14036 (opens in a new tab)x_refsource_MISC
- https://github.com/langflow-ai/langflow/commit/eba285edf1dd4a33bf23a9cb8113c991fcdf3d1d (opens in a new tab)x_refsource_MISC
- https://github.com/langflow-ai/langflow/commit/efbc4a16e639409d938a4883463d27ef0bc637a0 (opens in a new tab)x_refsource_MISC
- https://github.com/langflow-ai/langflow/releases/tag/v1.10.3 (opens in a new tab)x_refsource_MISC
- https://www.ox.security/blog/mcp-supply-chain-advisory-rce-vulnerabilities-across-the-ai-ecosystem (opens in a new tab)x_refsource_MISC
- https://www.ox.security/blog/the-mother-of-all-ai-supply-chains-critical-systemic-vulnerability-at-the-core-of-the-mcp (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-w794-rj3p-xv45 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2026-105697)Record last updated .