CVE-2026-105740
Langflow: Authenticated RCE via MCP Stdio transport allows any user to execute arbitrary OS commands on the server
CVSS Score
9.9
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-78 |
| Vendor | langflow-ai |
| Product | langflow |
| Published | Oct 5, 2026 |
Stay Ahead of the Next One
Get instant alerts for langflow-ai langflow
Be the first to know when new critical vulnerabilities affecting langflow-ai langflow are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
langflow-ai / langflow
< 1.9.0
References
github.com: https://github.com/langflow-ai/langflow/security/advisories/GHSA-7w94-79vh-5mr2 github.com: https://github.com/langflow-ai/langflow/security/advisories/GHSA-w794-rj3p-xv45 github.com: https://github.com/langflow-ai/langflow/pull/12290 github.com: https://github.com/langflow-ai/langflow/commit/efbc4a16e639409d938a4883463d27ef0bc637a0