Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (CWE-78)
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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
NVD published the first details for CVE-2026-105740
CVE-2026-105740: Langflow Critical RCE: Authenticated Command Injection via Stdio Transport
CVE-2026-105740: Langflow Critical RCE: Authenticated Command Injection via Stdio Transport
CVE-2026-105740 | langflow-ai Langflow up to 1.8.x MCP Stdio Transport command/env os command injection
CVE-2026-105740 - Langflow: Authenticated RCE via MCP Stdio transport allows any user to execute arbitrary OS commands on the server
Be the first to know critical vulnerabilities
Collect, analyze, and vulnerability reports faster using AI
The full story
This article is one source in a clustered incident — the cluster page carries the summary, timeline and every other outlet covering it.
