Live threats

All CVEs / langflow-ai

CVE-2026-105740langflow-ai langflow

Remote Code Execution in Langflow via MCP Server with Stdio Transport

Critical 9.9

Priority
59
CVSS 3.1
9.9
EPSS
—
Auth required
Yes
Published
Oct 5, 2026
Updated
Oct 6, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-78
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

What happens

Langflow prior to version 1.9.0 allows any authenticated user to execute arbitrary code on the server by adding an MCP server with "Stdio" transport. The command field is passed directly to bash without validation or restrictions, executing immediately when the server list is fetched. The env field allows arbitrary environment variable injection.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 1.9.0

Update Langflow to version 1.9.0 or later to apply the security fix.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for langflow.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.