Budibase Universal Auth Bypass via Webhook Query Param Injection
Description
Budibase is a low code platform for creating internal tools, workflows, and admin panels. In 3.31.4 and earlier, the Budibase server's authorized() middleware that protects every server-side API endpoint can be completely bypassed by appending a webhook path pattern to the query string of any request. The isWebhookEndpoint() function uses an unanchored regex that tests against ctx.request.url, which in Koa includes the full URL with query parameters. When the regex matches, the authorized() middleware immediately calls return next(), skipping all authentication, authorization, role checks, and CSRF protection. This means a completely unauthenticated, remote attacker can access any server-side API endpoint by simply appending ?/webhooks/trigger (or any webhook pattern variant) to the URL.
Affected products
2Patches
Vulnerability mechanics
References
1- github.com/Budibase/budibase/security/advisories/GHSA-gw94-hprh-4wj8mitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.