Critical severity9.9NVD Advisory· Published Oct 5, 2026· Updated Oct 6, 2026
CVE-2026-105740
CVE-2026-105740
Description
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 products
1- Range: <1.9.0
Patches
Vulnerability mechanics
References
4News mentions
3- ⚡ Weekly Recap: 98 Zero-Days, Rogue AI Agents, $100M Crypto Theft, 700 Supermarkets Hit and MoreThe Hacker News · Oct 19, 2026
- In Other News: ICS-Sniper Attack, Hacking XWorm Malware Operators, $250k Chrome ExploitSecurityWeek · Oct 16, 2026
- Langflow's Critical Authenticated RCE Flaw Targeted in 1,423 Honeypot Exploit AttemptsThe Hacker News · Oct 15, 2026