Langflow: OS command injection (RCE) via arbitrary command in MCP stdio server configuration
CVE-2026-105697 · GHSA-w794-rj3p-xv45 · published 2026-10-07 · updated 2026-10-09
- Severity
- Critical
- CVSS score
- 9.9
- Chance of exploitation (EPSS)
- 1.5%
- Fixed in
- 1.10.3
- Exploitation No known exploitation
- Automatable No
- Technical impact Total
- CISA SSVC
Remote code execution on the Langflow host as the Langflow process user (CWE-78). Any exposed instance on a vulnerable version is affected, whether the attacker has an account or uses the default AUTO_LOGIN. The reporter found several internet-facing Langflow servers that were vulnerable.
Upgrade langflow to 1.10.3 or later, and langflow-base to 0.10.3 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
#12290 (1.9.0) — MCPServerConfig validators: command allowlist (node, python, python3, npx, uvx, docker, and cmd/sh/bash only to wrap one of those), shell-metacharacter and dangerous-keyword checks on arguments, env var blocklist (LDPRELOAD, NODEOPTIONS, PYTHONPATH, BASHENV, ...), and Docker isolation checks. #14036** (1.10.3) — moves the policy into and enforces it at every entry point (API, embedded flow / tweak configs, the deprecated MCP Stdio component and just before spawn); it also launches the process without a shell: Later hardening (1.11.0, #13530) adds optional stricter modes for multi-tenant deployments.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| langflow | PyPI | >= 1.1.2, < 1.10.3 | 1.10.3 |
| langflow-base | PyPI | >= 0.1.2, < 0.10.3 | 0.10.3 |
- CriticalRay is vulnerable to Critical RCE via Safari & Firefox Browsers through DNS Rebinding AttackrayExploited
- HighLiteLLM: Authenticated command execution via MCP stdio test endpointslitellmExploited
- CriticalMLflow vulnerable to remote code execution on unauthenticated servers via third-party scorer deserialization importing caller-placed artifacmlflow
- CriticalAgno: Arbitrary code execution via `eval()` on `field_type` in `FunctionCall`agno
- CriticalStorybook: Missing origin validation in Storybook preview allows code injection from malicious websites@storybook/addon-mcp, @storybook/addon-mcp
- CriticalClaude Agent SDK: Argument Injection via resume Option Allows Arbitrary Command Executionclaude-agent-sdk
- CriticalUnauthenticated Remote Code Execution in Langflow via Public Flow Build EndpointlangflowExploited
- CriticalLangflow CORS misconfiguration enables Account Takeover and RCElangflowExploited
- CriticalLangflow Unauth RCElangflow, langflow-baseExploited
- HighLangflow: IDOR Vulnerability in `/api/v1/responses` Endpoint Allows Authenticated Attackers to Access Another User's FlowlangflowExploited
- HighLangflow affected by Remote Code Execution via validate_code() exec()langflowExploited
- CriticalMCP Path Traversal Allows Full-Filesystem Read and JWT Secret Exfiltration Leading to Account Takeoverlangflow, langflow-base
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.