CVE-2026-105697: Langflow - Command Injection
- Cve: CVE-2026-105697
- Name: Langflow - Command Injection
- 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.
- Impact: Attackers can execute arbitrary OS commands on the Langflow host, potentially leading to full system compromise.
- Remediation: Update to Langflow 1.10.3, langflow-base 0.10.3, or lfx 1.10.3 or later.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirements: Attacker needs access to MCP server settings or MCP Tools component; default config allows unauthenticated access via auto-login token.
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.9
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Epss score: 0.01494
- Epss percentile: 0.74828
- Assignee: [email protected]
- Published at: 2026-10-05T21:16:35Z
- Age in days: 50
- Modified at: 2026-10-09T20:17:09Z
- Patch available: yes
- Public exploits total: 1
- References total: 9
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-105697
- Nvd status: undergoing_analysis
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirement type
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
Hackerone
- Reports: 1
- Rank: 737
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/Iceman2050/mcp-patch-gap-scanner | poc-in-github | 2026-10-18 |
References
Same in every row:
- Source: nvd
- Tags:
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| langflow:langflow | >= 1.1.2, < 1.10.3 | no | cna_alias_text | /v1/products/langflow/langflow |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| langflow-ai/langflow | commit, fix, package, pull, releases, security_advisory | yes | /v1/repositories/langflow-ai/langflow |
Index
- Repositories: 2
- Repositories high signal: 2
- Checked, none or zero: packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-10-18
- Remote: yes
- Authentication required: yes
- Hackerone reports: 1
- Exposed hosts: 2920
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since