CVE-2026-105740
Langflow is a tool for building and deploying AI-powered agents and …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/langflow-ai/langflow/commit/efbc4a16e639409d938a4883463d27ef0bc637a0
- github.com/langflow-ai/langflow/pull/12290
- github.com/langflow-ai/langflow/security/advisories/GHSA-7w94-79vh-5mr2
- github.com/langflow-ai/langflow/security/advisories/GHSA-w794-rj3p-xv45
- nvd.nist.gov/vuln/detail/CVE-2026-105740
- cve.org/CVERecord?id=CVE-2026-105740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.