Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.9
CVE-2026-105740: Langflow lets logged-in users run any command on server
CVE-2026-105740 · published 4 days ago
Summary
Versions of Langflow before 1.9.0 allow anyone with a valid account to add a special MCP connection that runs whatever text they enter as a system command. This can give the user full control over the server and let them change environment settings. Updating to version 1.9.0 or later removes the unsafe behavior.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| langflow-ai | langflow | < 1.9.0 |
Original advisory text
Langflow: Authenticated RCE via MCP Stdio transport allows any user to execute arbitrary OS commands on the server
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.
References
- https://github.com/langflow-ai/langflow/commit/efbc4a16e639409d938a4883463d27ef0...
- https://github.com/langflow-ai/langflow/pull/12290
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-7w94-79vh-5mr2
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-w794-rj3p-xv45
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-1057... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-105740 Vendor Advisory
Internet-facing
14 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker full control
Type
CWE-78OS Command Injection
Timeline
Published5 Oct 2026
Updated9 Oct 2026
First seen5 Oct 2026
Track software like this
Free during beta