CVE-2026-105740: Langflow command injection in MCP server configuration

CVE-2026-105740 · Severity: critical · CVSS 9.9 · Published 2026-10-05

Langflow is a platform for building AI-powered workflows and agents. Any authenticated user can execute arbitrary commands on the server by configuring an MCP (Model Context Protocol) server with specially crafted commands, allowing complete server compromise. The vulnerability also allows environment variable injection, enabling additional attack vectors like library hijacking or path manipulation.

Technologies: Langflow-Ai Langflow. Vendors: Langflow-Ai.

Quick answers

Is CVE-2026-105740 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-105740 being exploited in the wild.
How severe is CVE-2026-105740?
Critical severity, with a CVSS score of 9.9, published 5 October 2026.
Which products and versions are affected?
Langflow-Ai Langflow before 1.9.0.
Is there a fix for CVE-2026-105740?
Yes: fixed in 1.9.0. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-105740 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2026-105740?
Check whether you run Langflow-Ai Langflow at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Fixed in: 1.9.0

Technical details

A command injection vulnerability (CWE-78) exists in the MCP server configuration feature where user-supplied command strings are passed directly to bash -c without validation, allowlisting, or sandboxing. The vulnerability requires authentication and affects the server-side MCP handler. An attacker can inject arbitrary shell commands or manipulate environment variables (LD_PRELOAD, PATH, etc.) to achieve remote code execution with the privileges of the Langflow process.

Affected products

  • Langflow AI Langflow before 1.9.0

Timeline

  • 2026-10-05: disclosed
  • 2026-03-27: patched

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.