← All advisories

CVE-2026-8505criticalBroken access control2026-10-05

CVE-2026-8505: Langflow webhooks let anyone run a flow without an API key

In Langflow 1.7.0 through 1.9.0, webhook endpoints skipped API key checks by default, so anyone who knew a flow's UUID could run it as the flow's owner. Flows that run Python code turn that into remote code execution.

01.

What it is

Langflow's maintainers: when WEBHOOK_AUTH_ENABLE is False, AuthService.get_webhook_user returns the flow owner without checking the API key in the request.

That setting was added in 1.7.0 with a default of False, so every webhook endpoint was public in 1.7.0 through 1.9.0, protected only by the secrecy of the flow ID.

The advisory lists remote code execution (through flows with code-running components), denial of service by triggering heavy flows, and unwanted changes to databases or systems a flow connects to.

02.

How to check

  1. Affected: langflow (pip) >= 1.7.0, <= 1.9.0.
  2. If you set LANGFLOW_WEBHOOK_AUTH_ENABLE=false on purpose, your webhooks stay public even after upgrading.
03.

How to fix

  1. Upgrade langflow to 1.9.1 or later. That release changes the default of WEBHOOK_AUTH_ENABLE to True, so webhooks need an API key and owner check.
  2. Don't set LANGFLOW_WEBHOOK_AUTH_ENABLE=false on an instance reachable from the internet.
pip show langflow | grep Version
04.

Sources

More advisories for this tool
The weekly email

One email a week. Only what changed.

Every new security hole in AI coding tools, MCP servers, app builders and the stacks they generate (Next.js, Supabase, Node, PHP), each with how to check your app and the fix. No roundups of things you already read.

Free, one email a week. Read the latest issue first if you like. One-click unsubscribe in every email. We never sell or share addresses.