Langflow Smart Transform prompt injection leading to code execution vulnerability
Start here
A GitHub security advisory discloses a code injection vulnerability in Langflow 1.3.0 through 1.10.2's Smart Transform (LambdaFilterComponent) component: the component concatenates the flow author's instructions with input data previews into a prompt, has the LLM generate Python lambda, then executes it with eval with full builtins after only a syntax format check, and calls it within the Langflow process. A malicious flow author can exploit it directly through the Instructions field; it may also be exploitable if an exposed flow passes attacker-controlled content in. Versions 1.11.0 and 1.10.3 fix the vulnerability.
Generated by AI from reports · Updated 2026-10-14
Storyline
- · 1 reports· Attention37
Langflow Smart Transform prompt injection leading to code execution vulnerabilityThis event
- · 3 reports· Attention32Langflow high-severity vulnerability reportedly targeted in honeypot exploitation attempts
- · 1 reports· Attention39Langflow PythonREPLComponent not sandboxed leads to RCE
- · 1 reports· Attention36Langflow fixes IP spoofing bypass vulnerability in MCP installation endpoint
- · 1 reports· Attention20Langflow code validation endpoint has a code injection vulnerability
- · 1 reports· Attention32An authenticated flow author in Langflow OSS can bypass file access isolation
Progress timeline
- GitHub Security AdvisoriesSelectedLangflow Smart Transform has a prompt injection vulnerability leading to code execution; fixed in 1.11.0 and 1.10.3
Langflow 1.3.0 through 1.10.2 Smart Transform (LambdaFilterComponent) component has a code injection vulnerability. This component concatenates the flow author's instructions and input data preview into the prompt, lets the LLM generate Python lambda, then executes it with eval with full builtins after only a syntax format check, and calls it within the Langflow process. A malicious flow author can exploit it directly through the Instructions field; if an exposed flow passes attacker-controlled content into Smart Transform, it may also be indirectly exploited via prompt injection, depending on whether the model follows the injected instructions. Successful exploitation can obtain Langflow service process permissions, read or modify credentials, files, application data, and network resources, and in shared deployments may affect other tenants.