漏洞描述
Langflow exposes an API endpoint (/api/v1/custom_component) that evaluates attacker-supplied Python component code via eval_custom_component_code without adequate sandboxing or validation. A remote attacker can submit crafted component code that executes arbitrary commands when the code is evaluated by the server. On deployments where AUTO_LOGIN is enabled (the default in many releases), a valid session token can be obtained from /api/v1/auto_login without credentials, making the issue remotely exploitable without authentication. The affected version range spans a broad set of 1.x releases; consult the vendor advisory for the exact fixed version applicable to a given deployment.
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。