CVE-2026-105697
CRITICAL 9.9CVSS 3.1Langflow: OS command injection (RCE) via arbitrary command in MCP stdio server configuration
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.
- Published
- 5 Oct 2026
- Last modified
- 15 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-78
- Also known as
- GHSA-w794-rj3p-xv45PYSEC-2026-4237PYSEC-2026-4239PYSEC-2026-4241
- Sources
- NVDJSONOSV GHSA-w794-rj3p-xv45JSONOSV PYSEC-2026-4237JSONOSV PYSEC-2026-4239JSONOSV PYSEC-2026-4241JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | langflow | >= 1.1.2, < 1.10.3 | 1.10.3 |
| OSV | PyPI | langflow-base | >= 0.1.2, < 0.10.3 | 0.10.3 |
| OSV | PyPI | lfx | < 1.10.3 | 1.10.3 |
References
- https://github.com/langflow-ai/langflow/commit/eba285edf1dd4a33bf23a9cb8113c991fcdf3d1d · WEB
- https://github.com/langflow-ai/langflow/commit/efbc4a16e639409d938a4883463d27ef0bc637a0 · WEB
- https://github.com/langflow-ai/langflow/pull/12290 · WEB
- https://github.com/langflow-ai/langflow/pull/14036 · WEB
- https://github.com/langflow-ai/langflow/releases/tag/v1.10.3 · WEB
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-7w94-79vh-5mr2 · WEB
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-w794-rj3p-xv45 · WEB
- https://www.ox.security/blog/mcp-supply-chain-advisory-rce-vulnerabilities-across-the-ai-ecosystem · WEB
- https://www.ox.security/blog/the-mother-of-all-ai-supply-chains-critical-systemic-vulnerability-at-the-core-of-the-mcp · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-105697 · ADVISORY
- https://github.com/langflow-ai/langflow · PACKAGE
- https://pypi.org/project/langflow · PACKAGE
- https://github.com/advisories/GHSA-w794-rj3p-xv45 · ADVISORY
- https://pypi.org/project/langflow-base · PACKAGE
- https://pypi.org/project/lfx · PACKAGE
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 5 Oct 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 15 Oct 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 15 Oct 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 15 Oct 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Oct 2026)