Langflow has Remote Code Execution in CSV Agent
CVE-2026-27966 · GHSA-3645-fxcv-hqr4 · published 2026-02-27 · updated 2026-10-27
- Severity
- Critical
- CVSS score
- 9.8
- Chance of exploitation (EPSS)
- 35.2%
- Fixed in
- No fix yet
- Exploitation Public proof of concept
- Automatable Yes
- Technical impact Total
- CISA SSVC
Remote attackers can execute arbitrary Python code and system commands on the Langflow server. Full takeover of the server environment is possible. No configuration option currently exists to disable this behavior.
No fixed release is listed yet for langflow. Follow the source advisory for updates, and until one ships:
General guidance from ShieldPi, not a vendor fix
- Command or code injection. Remove or disable the affected server or tool, or run it in a sandbox with no secrets in its environment.
Set allow_dangerous_code=False by default, or remove the parameter entirely to prevent automatic inclusion of the Python REPL tool. If the feature is required, expose a UI toggle with Default: False.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| langflow | PyPI | <= 1.8.0rc2 | No fix yet |
- 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.