CVE-2026-105740 Langflow: Authenticated RCE via MCP Stdio transport allows any user to execute arbitrary OS commands on the server
CriticalCVSS 9.9
EPSS 3.9%
Scanner template
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
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.
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| langflow-ai langflow | = < 1.9.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| langflow-ai langflow | = < 1.9.0 | No fix listed |
References
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-7w94-79vh-5mr2 exploit
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-w794-rj3p-xv45 exploit
- https://github.com/langflow-ai/langflow/pull/12290
- https://github.com/langflow-ai/langflow/commit/efbc4a16e639409d938a4883463d27ef0bc637a0
- ENISA EUVD EUVD-2026-92799 third-party-advisory