Langflow: Authenticated RCE via MCP Stdio transport allows any user to execute arbitrary OS commands on the server (CVE-2026-105740)
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.
Facts
- Organisation
- langflow-ai
- Product
- langflow
- CVE
- CVE-2026-105740
- Exploitation
- Public exploit
- CVSS score
- 9.9
- EPSS, chance of attacks in 30 days
- 4 %
- Made public
- Oct 6, 2026
Why this status
A public exploit is not a confirmed attack: the status moves up when exploitation is observed. Evidence comes from public feeds and the cited sources.
Sources
- CVE record cve.org
- NVD nvd.nist.gov
Summaries are written from the linked sources. Check them before relying on a detail.