CVE-2026-105740
9.9critical
Langflow: Authenticated RCE via MCP Stdio transport allows any user to execute arbitrary OS commands on the server
- Severity
- 9.9critical CVSS:3.1 by GitHub_M
- Exploit likelihood
- 5.07% (higher than 92% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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
| Product or package | Versions | Reported by |
|---|---|---|
| langflow-ai langflow | < 1.9.0 | CVE List |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-105740 changed 2026-10-06 | CVE Terms of Use |
| NVD | CVE-2026-105740 changed 2026-10-06 | Public domain |