Langflow has Authenticated Code Execution in Agentic Assistant Validation
CVE-2026-33873 · GHSA-v8hw-mh8c-jxfc · published 2026-03-26 · updated 2026-06-06
- Severity
- Critical
- CVSS score
- 9.3
- Chance of exploitation (EPSS)
- 1.5%
- Fixed in
- 1.9.0
- Exploitation No known exploitation
- Automatable No
- Technical impact Total
- CISA SSVC
Attackers who can access the Agentic Assistant feature and influence model output may execute arbitrary Python code on the server. This can lead to: OS command execution file read/write credential or secret disclosure full compromise of the Langflow process
Upgrade langflow to 1.9.0 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.
Remove all dynamic execution from the validation path. Ensure validation is strictly static and side-effect-free. Treat all LLM output as untrusted input. If code generation must be supported, require explicit approval and run it in a hardened sandbox isolated from the main server process. Discovered by: @kexinoh (https://github.com/kexinoh, works at Tencent Zhuque Lab)
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| langflow | PyPI | <= 1.8.1 | 1.9.0 |
- 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.