Langflow - Remote Code Execution via custom_component eval_custom_component_code
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.