CVE-2026-105740

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

No configuration.

History

06 Oct 2026, 19:17

Type Values Removed Values Added
References () https://github.com/langflow-ai/langflow/security/advisories/GHSA-7w94-79vh-5mr2 - () https://github.com/langflow-ai/langflow/security/advisories/GHSA-7w94-79vh-5mr2 -
References () https://github.com/langflow-ai/langflow/security/advisories/GHSA-w794-rj3p-xv45 - () https://github.com/langflow-ai/langflow/security/advisories/GHSA-w794-rj3p-xv45 -

05 Oct 2026, 21:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-10-05 21:16

Updated : 2026-10-06 19:17


NVD link : CVE-2026-105740

Mitre link : CVE-2026-105740

CVE.ORG link : CVE-2026-105740


JSON object : View

Products Affected

No product.

CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')