Langflow
Langflow: Authenticated RCE via MCP Stdio transport allows any user to execute arbitrary OS commands on the server
Langflow is a tool for building and deploying AI-powered agents and workflows. Prior to 1.9.0, any authenticated Langflow user can achieve Remote Code Execution (RCE) on the server by adding an MCP server with the "Stdio" transport. The user-supplied command field is passed directly to bash -c "exec {command}" with zero validation, no allowlisting, and no sandboxing. The command executes immediately when the server list is fetched. Additionally, the env field allows arbitrary environment variable injection (e.g., LD_PRELOAD, PATH override). This vulnerability is fixed in 1.9.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.9.0
Fixed in 1.9.0
Mitigation
Upgrade langflow to 1.9.0 or later.
References
- Vendor advisory github.com/langflow-ai/langflow/security/advis…
- Vendor advisory github.com/langflow-ai/langflow/security/advis…
- Patch github.com/langflow-ai/langflow/pull/12290
1 more
Timeline
Days relative to CVE publicationFirst public PoC 10 days after publication; not in CISA KEV. First PoC: nuclei template: Langflow 1.8.3 and 1.9.0 - Authenticated MCP Stdio Command Execution (nuclei template, 16 Oct 2026).
PoC repositories
Found on GitHub.No PoC repositories found yet.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: Langflow 1.8.3 and 1.9.0 - Authenticated MCP Stdio Command Execution | 16 Oct 2026 | 14 Nov 2026 |