CVE-2026-101861 Langflow Code Execution via eval() in Component Input Schema
LowCVSS 2.1
EPSS 0.20%
- Published
- Updated
- Exploit status
- No public exploit known
Description
Langflow 1.0.16 before 1.12.0 and 0.0.94 before 1.12.0 contain an unsafe eval() vulnerability in schema.py that allows authenticated attackers to achieve code execution by placing a Python object with a malicious repr method into component input options lists. The eval() sink is triggered when a component is converted into a LangChain tool via ComponentToolkit.get_tools(), including during custom component saves through the API, by interpolating options into a Literal type string that is passed directly to eval() without safe evaluation controls.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| langflow-ai langflow | >= 1.0.16, < 1.12.0 | 1.12.0 |
| langflow-ai langflow | >= 0.0.94, < 1.12.0 | 1.12.0 |
References
- GitHub Security Advisory (GHSA-33p4-w7j3-33mw) vendor-advisory
- Release Notes patch release-notes