Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.9
CVE-2026-105697: Langflow lets attackers run any command on server
CVE-2026-105697 · published 1 month ago
Summary
Versions of Langflow before 1.10.3 let anyone who can add or edit an MCP server configuration insert any system command, which the software then executes on the host machine. This can happen without a password when the default auto‑login setting is left enabled, allowing unauthorized users to run harmful commands. Upgrade to Langflow 1.10.3 (or the matching base and lfx packages) and disable the auto‑login feature to block the problem.
What to do
- Update langflow to version 1.10.3.
- Update langflow-base to version 0.10.3.
- Update lfx to version 1.10.3.
Affected software
| Ecosystem | Vendor | Product | 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 |
| pip | – | langflow |
>= 1.1.2, < 1.10.3 Fix: upgrade to 1.10.3
|
| pip | – | langflow-base |
>= 0.1.2, < 0.10.3 Fix: upgrade to 0.10.3
|
| pip | – | lfx |
< 1.10.3 Fix: upgrade to 1.10.3
|
Original advisory text
Langflow: 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.
References
- https://github.com/advisories/GHSA-w794-rj3p-xv45 Vendor Advisory
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-7w94-79vh-5mr2 Vendor Advisory
- https://www.ox.security/blog/mcp-supply-chain-advisory-rce-vulnerabilities-acros... Vendor Advisory
- https://www.ox.security/blog/the-mother-of-all-ai-supply-chains-critical-systemi... Third Party Advisory
- https://pypi.org/project/lfx Product
- https://pypi.org/project/langflow Product
- https://pypi.org/project/langflow-base Product
- https://github.com/langflow-ai/langflow/commit/eba285edf1dd4a33bf23a9cb8113c991f... Patch
- https://github.com/langflow-ai/langflow/commit/efbc4a16e639409d938a4883463d27ef0... Patch
- https://github.com/langflow-ai/langflow/releases/tag/v1.10.3 URL
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-1056... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-105697 Vendor Advisory
- https://github.com/langflow-ai/langflow/pull/12290 Patch
- https://github.com/langflow-ai/langflow/pull/14036 Patch
- https://github.com/langflow-ai/langflow Product
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-w794-rj3p-xv45 Vendor Advisory
Internet-facing
14 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker full control
Type
CWE-78OS Command Injection
Timeline
Published5 Oct 2026
Updated26 Nov 2026
First seen5 Oct 2026
Sources
CVE-2026-105697 · NVD
CVE-2026-105697 · MITRE
CVE-2026-105697 · OSV
GHSA-w794-rj3p-xv45 · GHSA
GHSA-w794-rj3p-xv45 · OSV
PYSEC-2026-4239 · OSV
PYSEC-2026-4241 · OSV
Track software like this
Free during beta