CVE-2026-31816

Budibase Universal Auth Bypass via Webhook Query Param Injection

Published Mar 9, 2026 CVSS 3.1 · 9.1 Critical EPSS 16.7% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Budibase is a low‑code platform that protects all server‑side APIs with an authorized() middleware. In versions 3.31.4 and earlier, the middleware can be bypassed by including a webhook pattern in the query string of any request. The isWebhookEndpoint() function uses an unanchored regular expression that evaluates the full URL, including query parameters. When the pattern matches, the middleware immediately calls next() and skips every authentication, role check, and CSRF protection. This flaw, a classic input validation weakness (CWE‑74), allows a remote, unauthenticated attacker to invoke any server‑side API simply by appending a string such as ?/webhooks/trigger to the URL.

Affected Systems

Budibase v3.31.4 and earlier are affected. The vulnerable code resides in the Budibase server's authorized() middleware, which is part of all Budibase installations running these versions. No other vendors are affected based on current information.

Risk and Exploitability

With a CVSS base score of 9.1, the vulnerability qualifies as Critical. The EPSS score of 17% indicates a moderate likelihood that the vulnerability could be exploited, reflecting that it is a known threat and more likely to be exploited in practice. The flaw is not yet listed in the KEV catalog. An attacker only needs network access to the Budibase server and the ability to construct a URL containing a webhook pattern; no authentication credentials are required. Once the URL is satisfied the request proceeds as if the user were fully authenticated, granting full access to any API endpoint and sensitive data.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Budibase to the latest version that contains the fix for the authorized middleware.
  • block or strip any query parameters that contain the string "/webhooks/" (or any known webhook pattern) before they reach the application layer.
  • Implement network perimeter controls such as a WAF or firewall rules to deny requests that attempt to include webhook‑style query strings targeting the Budibase API.

Generated by OpenCVE AI on November 4, 2026 at 15:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:budibase:budibase:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Budibase
Budibase budibase
Vendors & Products Budibase
Budibase budibase
Type Values Removed Values Added
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.
Title Budibase Universal Auth Bypass via Webhook Query Param Injection
Weaknesses CWE-74
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Mar 10, 2026, 3:20 PM
Reserved
Mar 9, 2026, 4:33 PM
Status
Analyzed
Published
Mar 9, 2026, 9:16 PM
Modified
Jun 17, 2026, 10:34 AM