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

- Severity: High 8.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.90%, higher than 60% of CVEs (2026-12-01)
- Published: 2026-11-20T16:43:37.760Z
- Modified: 2026-11-23T17:17:30.497Z
- Also known as: GHSA-25qc-m4pw-2w8r
- Weaknesses: CWE-284, CWE-306, CWE-770, CWE-863
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- Budibase budibase: < 3.50.0
- @budibase/server (npm): up to 3.38.1

## Every score

- GitHub_M: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H`
- GitHub: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H`

## References

- <https://github.com/Budibase/budibase/security/advisories/GHSA-25qc-m4pw-2w8r> (web)
- <https://github.com/Budibase/budibase/commit/362a7fe9aea594531ece1cf15be76cc00bfb88b9> (web)
- <https://github.com/Budibase/budibase/releases/tag/v3.50.0> (web)
- <https://github.com/Budibase/budibase/releases/tag/v4.0.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-122247> (advisory)
- <https://github.com/Budibase/budibase> (package)

## Sources

- CVE List: [CVE-2026-122247](https://www.cve.org/CVERecord?id=CVE-2026-122247), CVE Terms of Use, modified 2026-11-23
- GitHub Advisory Database: [GHSA-25qc-m4pw-2w8r](https://github.com/advisories/GHSA-25qc-m4pw-2w8r), CC-BY-4.0, modified 2026-11-21
- NVD: [CVE-2026-122247](https://nvd.nist.gov/vuln/detail/CVE-2026-122247), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-122247 · Whole record: https://cve.day/CVE-2026-122247.json · Rebuilt by cve.day 2026-11-25T22:59:52.431Z
