CVE-2026-31816: Budibase Universal Auth Bypass via Webhook Query Param Injection
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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-31816?
CVE-2026-31816 is classified as a high severity vulnerability due to its potential for unauthorized access.
How do I fix CVE-2026-31816?
To fix CVE-2026-31816, you should upgrade Budibase to version 3.31.5 or later.
What type of vulnerability is CVE-2026-31816?
CVE-2026-31816 is an authorization bypass vulnerability affecting the Budibase platform.
What versions of Budibase are affected by CVE-2026-31816?
All versions of Budibase up to and including 3.31.4 are affected by CVE-2026-31816.
Can CVE-2026-31816 be exploited remotely?
Yes, CVE-2026-31816 can be exploited remotely via a crafted webhook query parameter.