sadrobot

← Back to the monthly list

CVE-2026-105740 langflow-ai · langflow

9.9 Critical

AI summary

Langflow before 1.9.0 lets any authenticated user achieve remote code execution on the server by adding an MCP server with Stdio transport, as the command is executed without validation and the env field allows arbitrary environment variables. Critical (CVSS 9.9); fixed in 1.9.0.

Official 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.

Published
2026-10-05 21:16 UTC
Modified
2026-10-06 19:17 UTC
CVSS
9.9 Critical CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS
3.58% (percentile 90)
ENISA EUVD
EUVD-2026-92799
CISA SSVC
Exploitation: poc · Automatable: no · Technical impact: total
CWE
CWE-78

CVSS vector

Attack vector
network
Attack complexity
low
Privileges required
low
User interaction
none
Scope
changed
Confidentiality
high
Integrity
high
Availability
high

References