← 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.

New advisories, CVEs and fixes for Lovable, Bolt, v0, Replit, Base44 and Cursor apps. No roundups of things you already read.

Free. The list is new, so the first issues go out once there are readers. Unsubscribe from any email in one click. We never sell or share addresses.