Budibase
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- <= 3.31.4
Mitigation
The record names no fix. Check the vendor advisory below.
References
- Vendor advisory github.com/Budibase/budibase/security/advisori…
Timeline
Days relative to CVE publicationFirst public PoC 2.7 days after publication; not in CISA KEV. First PoC: imjdl/CVE-2026-31816-rshell (created 12 Mar 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| imjdl/CVE-2026-31816-rshell | 12 Mar 2026 +2.7 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: Budibase - Authentication Bypass | 25 Mar 2026 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /api/integrations
- Query
/webhooks/trigger=- Ports
- 10000
- Seen in
- 1 repo: imjdl/CVE-2026-31816-rshell
- Evidence
- imjdl/CVE-2026-31816-rshell/README.md:154
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/api/integrations\?(?:.*&)?/webhooks/trigger=
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [10000] (msg:"GG PoC-Monitor CVE-2026-31816 Budibase budibase exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/integrations"; http.uri; content:"/webhooks/trigger="; reference:url,poc.griffinguard.io/cve/CVE-2026-31816; classtype:web-application-attack; sid:9136665; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Budibase budibase exploit attempt (CVE-2026-31816)
id: gg-pocmon-cve-2026-31816-9136665
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-31816. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-31816
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/api/integrations'
cs-uri-query|contains|all:
- '/webhooks/trigger='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.31816