Skip to content
DayZeroHub
High Not yet writtenCVSS 8.2GHSA-25qc-m4pw-2w8rCVE-2026-122247

CVE-2026-122247: Budibase: Unauthenticated global-admin & database creation via tenant-confusion bypass of the one-time init guard (`POST /api/global/users/init`)

Budibase budibase

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-122247: high-severity vulnerability (CVSS 8.2) in Budibase budibase.

What happened

Original description from the source: Budibase is an open-source low-code platform. Prior to 3.50.0, the public POST /api/global/users/init endpoint on a self-hosted single-tenant deployment accepts an attacker-controlled tenantId and evaluates checkAnyUserExists() in the selected tenant database instead of the legitimate default tenant. An unauthenticated attacker can select an unused tenant namespace to bypass the one-time initialization guard, causing packages/worker/src/api/controllers/global/users.ts to create a tenant-specific CouchDB database and a global-administrator document without a session or CSRF token. Repeating this operation with unique tenant identifiers can exhaust datastore resources and leave latent privileged records. The created administrator cannot log into the default tenant while multi-tenancy remains disabled, which limits the immediate impact to persistent writes, denial of service, and records that may become usable during later multi-tenant operation or migration. This issue is fixed in versions 3.50.0 and 4.0.0.

Why it matters

High severity, CVSS 8.2.

Affected products and versions

@budibase/server <= 3.38.1; Budibase budibase < 3.50.0

ProductVersionsFixed in
@budibase/server<= 3.38.1—
Budibase budibase< 3.50.0—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-284, CWE-306, CWE-770, CWE-863

Relevant change history

  1. Published

    Preliminary advisory published.