What’s Vulnerable › Vulnerabilities
CVE-2026-101861: Langflow Code Execution via eval() in Component Input Schema
- Severity: medium (CVSS 4.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-28 · updated 2026-09-30
- Weakness: CWE-94
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
- IBM Langflow OSS: from 1.0.16 before 1.12.0; from 0.0.94 before 1.12.0 — fixed in 1.12.0
How to fix
Upgrade to a fixed version: IBM Langflow OSS 1.12.0. Check the vendor advisory for mitigations.
References
- https://github.com/langflow-ai/langflow/releases#release-v1.12.0
- https://github.com/langflow-ai/langflow/security/advisories/GHSA-33p4-w7j3-33mw
Get alerted when CVE-2026-101861 or the next vulnerability affects your stack