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

- Severity: Critical 9.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.37%, higher than 72% of CVEs (2026-11-30)
- Published: 2026-10-05T20:16:58.291Z
- Modified: 2026-10-15T14:55:59.006Z
- Also known as: GHSA-w794-rj3p-xv45, PYSEC-2026-4237, PYSEC-2026-4239, PYSEC-2026-4241
- Related: CVE-2026-105740
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- 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
- langflow (PyPI): from 1.1.2 before 1.10.3
- langflow-base (PyPI): from 0.1.2 before 0.10.3
- lfx (PyPI): before 1.10.3

## Every score

- GitHub_M: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://github.com/langflow-ai/langflow/security/advisories/GHSA-w794-rj3p-xv45> (web)
- <https://github.com/langflow-ai/langflow/security/advisories/GHSA-7w94-79vh-5mr2> (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/commit/eba285edf1dd4a33bf23a9cb8113c991fcdf3d1d> (web)
- <https://github.com/langflow-ai/langflow/commit/efbc4a16e639409d938a4883463d27ef0bc637a0> (web)
- <https://github.com/langflow-ai/langflow/releases/tag/v1.10.3> (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)

## Sources

- CVE List: [CVE-2026-105697](https://www.cve.org/CVERecord?id=CVE-2026-105697), CVE Terms of Use, modified 2026-10-09
- GitHub Advisory Database: [GHSA-w794-rj3p-xv45](https://github.com/advisories/GHSA-w794-rj3p-xv45), CC-BY-4.0, modified 2026-10-15
- NVD: [CVE-2026-105697](https://nvd.nist.gov/vuln/detail/CVE-2026-105697), Public domain, modified 2026-10-09
- PyPA Advisory Database: [PYSEC-2026-4237](https://osv.dev/vulnerability/PYSEC-2026-4237), CC-BY-4.0, modified 2026-10-15
- PyPA Advisory Database: [PYSEC-2026-4239](https://osv.dev/vulnerability/PYSEC-2026-4239), CC-BY-4.0, modified 2026-10-15
- PyPA Advisory Database: [PYSEC-2026-4241](https://osv.dev/vulnerability/PYSEC-2026-4241), CC-BY-4.0, modified 2026-10-15

---

Page: https://cve.day/CVE-2026-105697 · Whole record: https://cve.day/CVE-2026-105697.json · Rebuilt by cve.day 2026-11-25T22:59:42.178Z
