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.
https://github.com/langflow-ai/langflow/security/advisories/GHSA-33p4-w7j3-33mw
https://github.com/langflow-ai/langflow/releases#release-v1.12.0
Published: 2026-09-28
Updated: 2026-09-30
Base Score: 4.3
Vector: CVSS2#AV:N/AC:H/Au:M/C:P/I:P/A:P
Severity: Medium
Base Score: 4.1
Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L
Severity: Medium
Base Score: 2.1
Vector: 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
Severity: Low
EPSS: 0.00197