Langflow contains a remote code execution flaw in handling the exec_globals parameter of the validate endpoint, allowing unauthenticated attackers to run arbitrary code as root. All Langflow installations exposing this endpoint are affected.
Langflow versions prior to 1.9.0 let unauthenticated attackers build public flows with attacker-supplied data, executing arbitrary Python via exec() without sandboxing and achieving remote code execution. Langflow deployments exposing the public flow build endpoint are affected.
Langflow versions prior to 1.9.1 contain an IDOR flaw in the /api/v1/responses endpoint. Authenticated attackers can execute another user's flow by specifying the victim's flow ID.