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
VendorProductAffected 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.
Fix within
Internet-facing 14 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker full control
Severity
9.9 Critical
Exploitation
<1% chance of attack within 30 days
Type
CWE-78OS Command Injection
Timeline
Published5 Oct 2026
Updated9 Oct 2026
First seen5 Oct 2026
Sources
CVE-2026-105740 · MITRE
Track software like this
Free during beta