CVE-2026-27966
Description
Langflow is a tool for building and deploying AI-powered agents and workflows. Prior to version 1.8.0, the CSV Agent node in Langflow hardcodes `allow_dangerous_code=True`, which automatically exposes LangChain’s Python REPL tool (`python_repl_ast`). As a result, an attacker can execute arbitrary Python and OS commands on the server via prompt injection, leading to full Remote Code Execution (RCE). Version 1.8.0 fixes the issue.
How to fix
- langflow langflow1.8.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| langflow langflow | v < 1.8.0 | 1.8.0 |
| langflowPyPI | v ≤ 1.8.0rc2 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.