CVE-2026-101861
2.1low
Langflow Code Execution via eval() in Component Input Schema
- Severity
- 2.1low CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.20% (higher than 9% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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
| Product or package | Versions | Reported by |
|---|---|---|
| langflow-ai langflow | from 1.0.16 before 1.12.0, from 0.0.94 before 1.12.0 | CVE List |
All scores
| VulnCheck | 2.1low CVSS:4.0 | CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N |
| VulnCheck | 4.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-101861 changed 2026-10-01 | CVE Terms of Use |
| NVD | CVE-2026-101861 changed 2026-09-30 | Public domain |