Skip to content
GitHub Security Advisories·Indexed by this site · Originally published· Event →SelectedAttention39

Langflow fixed a webhook authentication bypass vulnerability that allowed unauthenticated users to execute arbitrary flows

Langflow: Unauthenticated Flow Execution via Webhook Authentication Bypass

AI summary

Langflow's webhook authentication logic has a vulnerability: an unauthenticated user who only knows the flow's UUID can trigger the execution of any flow as the owner. The root cause is that the WEBHOOK_AUTH_ENABLE configuration defaults to False when introduced in v1.7.0, causing AuthService.get_webhook_user to directly return the flow owner without validating the API key, leaving all webhook endpoints public by default. An attacker can use this to achieve remote code execution (RCE), denial of service (DoS), or tampering with external systems such as databases. Affected versions are >= 1.7.0, <= 1.9.0, fixed in v1.9.1 via PR #12845, which changed the default value of WEBHOOK_AUTH_ENABLE to True, unless operators explicitly set LANGFLOW_WEBHOOK_AUTH_ENABLE=false.

Why it was selected

The advisory provides the affected version range, the bypass mechanism, and the fixed version. Teams deploying Langflow can use this to assess their own exposure and upgrade.

Read originalgithub.com