H3-2026-1120¶
Kestra Authentication Bypass via Webhook URL Prefix Match Vulnerability
| Category | VULNERABILITY |
| Base Score | 10.0 |
Description¶
Kestra's AuthenticationFilter checks whether an incoming request path begins with one of a configured list of open URLs, using a raw string prefix match rather than matching the resolved route. The default open entry for legitimate webhook callbacks also matches the general create execution route whenever the namespace segment of that route is literally the word webhook. Remote attackers can request execution creation for a flow inside a namespace named webhook and have the filter treat the call as an open webhook path, skipping authentication entirely. Exploitation requires only network access to the execution API, with the target flow's output readable through the wait query parameter.
Impact¶
Attackers can create and run arbitrary flows inside a namespace named webhook and read their outputs, including stored secrets. This amounts to a full authentication bypass on the flow execution API. Organizations orchestrating sensitive workflows or credentials through Kestra are at risk of broad secret disclosure.