Critical severity · published Oct 5, 2026
CVE-2026-105740
Langflow: Authenticated RCE via MCP Stdio transport allows any user to execute arbitrary OS commands on the server
9.9
CVSS
1%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)1.0% · higher than 64% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
LA
langflow · langflow-ai
< 1.9.0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-105740
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-105740
x_refsource_CONFIRM
https://github.com/langflow-ai/langflow/security/advisories/GHSA-7w94-79vh-5mr2
x_refsource_MISC
https://github.com/langflow-ai/langflow/security/advisories/GHSA-w794-rj3p-xv45
x_refsource_MISC
https://github.com/langflow-ai/langflow/pull/12290
x_refsource_MISC
https://github.com/langflow-ai/langflow/commit/efbc4a16e639409d938a4883463d27ef0bc637a0
More from langflow
9.8
CVE-2026-33017
Langflow has Unauthenticated Remote Code Execution via Public Flow Build Endpoint
9.8
CVE-2025-3248
Langflow < 1.3.0 Unauthenticated RCE via /api/v1/validate/code
8.4
CVE-2026-55255
Langflow: IDOR Vulnerability in `/api/v1/responses` Endpoint Allows Authenticated Attackers to Access Another User's Flow
9.9
CVE-2026-105697
Langflow: OS command injection (RCE) via arbitrary command in MCP stdio server configuration
9.9
CVE-2026-33873
Langflow has Authenticated Code Execution in Agentic Assistant Validation
