PT-2026-99924 · Langflow · Langflow
CVSS v3.1
4.1
Medium
| Vector | AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:L |
Name of the Vulnerable Software and Affected Versions
Langflow versions 0.0.94 through 1.11.x
Langflow versions 1.0.16 through 1.11.x
Description
An unsafe
eval() function in schema.py allows authenticated attackers to achieve remote code execution. This occurs when a Python object containing a malicious repr method is placed into component input options lists. The issue is triggered during the conversion of a component into a LangChain tool via the ComponentToolkit.get tools() function, which can happen during custom component saves through the API. The process interpolates options into a Literal type string that is passed to eval() without safe evaluation controls.Recommendations
Update Langflow to version 1.12.0 or later.
Restrict the use of the
ComponentToolkit.get tools() function and custom component saves via the API until the update is applied.Exploit
Fix
Eval Injection
Code Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Langflow