CVE-2026-122247
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| npm | @budibase/server | <= 3.38.1 | |
| npm | @budibase/server | <=3.38.1 | |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| budibase | budibase | < 3.50.0 | |
References
- https://github.com/Budibase/budibase/commit/362a7fe9aea594531ece1cf15be76cc00bfb88b9
- https://github.com/Budibase/budibase/releases/tag/v3.50.0
- https://github.com/Budibase/budibase/releases/tag/v4.0.0
- https://github.com/Budibase/budibase/security/advisories/GHSA-25qc-m4pw-2w8r
- https://nvd.nist.gov/vuln/detail/CVE-2026-122247
- https://github.com/advisories/GHSA-25qc-m4pw-2w8r
- https://github.com/Budibase/budibase
CWEs
CWE-284 CWE-306 CWE-770 CWE-863
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.