Langflow: Authenticated RCE via MCP Stdio transport allows any user to execute arbitrary OS commands on the server
Published Oct 5, 2026
9.9
CRITICALCVSS 3.1
EPSS 0.59%
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.
Affected products
-
- Version < 1.9.0StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Langflow-AI | Langflow | n/a |
|
No data.
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (5)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-92799 Advisory
- https://github.com/langflow-ai/langflow/commit/efbc4a16e639409d938a4883463d27ef0bc637a0 x_refsource_MISC
- https://github.com/langflow-ai/langflow/pull/12290 x_refsource_MISC
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-7w94-79vh-5mr2 exploitx_refsource_CONFIRM
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-w794-rj3p-xv45 exploitx_refsource_MISC
| Link | Providers | Tags |
|---|---|---|
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-92799 | Advisory | |
| https://github.com/langflow-ai/langflow/commit/efbc4a16e639409d938a4883463d27ef0bc637a0 | x_refsource_MISC | |
| https://github.com/langflow-ai/langflow/pull/12290 | x_refsource_MISC | |
| https://github.com/langflow-ai/langflow/security/advisories/GHSA-7w94-79vh-5mr2 | exploitx_refsource_CONFIRM | |
| https://github.com/langflow-ai/langflow/security/advisories/GHSA-w794-rj3p-xv45 | exploitx_refsource_MISC |
Change history (1)
- EUVD
Updated
changed from Oct 5, 2026 to Oct 6, 2026Oct 5, 2026 → Oct 6, 2026