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. Поглотитель eval() запускается, когда компонент преобразуется в инструмент LangChain через ComponentToolkit.get_tools(), в том числе во время сохранения пользовательского компонента через API, путем интерполяции параметров в строку типа Literal, которая передается непосредственно в eval() без безопасного контроля оценки.
Показать оригинальное описание (EN)
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.
Характеристики атаки
Последствия
Строка CVSS v4.0