CVE Catalog

CVE-2026-105740

CriticalCVSS 9.9
Published: Translated: NVD NIST

Summary

Langflow before 1.9.0 allows any authenticated user to 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).

Risk Assessment

An attacker can execute arbitrary commands on the server, leading to full system compromise, data theft, and infrastructure takeover.

Recommendation

Immediately upgrade Langflow to version 1.9.0 or later and restrict access to MCP server configuration to trusted administrators only.

Other vulnerabilities in Langflow

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS