CVE-2026-122247
High 8.2No known exploitationFix status unknownBudibase: Unauthenticated global-admin & database creation via tenant-confusion bypass of the one-time init guard (`POST /api/global/users/init`)
Vendor advisory: GHSA-25qc-m4pw-2w8r
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
No EPSS score available
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-284, CWE-306, CWE-770, CWE-863
Patching and mitigation
- Patch status
- Unknown: no source documents a fix
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| npm | @budibase/server | all versions up to and including 3.38.1 | Not documented | GitHub Advisory Database |
Timeline
- No dated events documented yet.
Vendor guidance and references
- https://github.com/Budibase/budibase/commit/362a7fe9aea594531ece1cf15be76cc00bfb88b9 (opens in a new tab)
- https://github.com/Budibase/budibase/releases/tag/v3.50.0 (opens in a new tab)
- https://github.com/Budibase/budibase/releases/tag/v4.0.0 (opens in a new tab)
- https://github.com/Budibase/budibase/security/advisories/GHSA-25qc-m4pw-2w8r (opens in a new tab)
- GitHub Advisory GHSA-25qc-m4pw-2w8r (opens in a new tab)github-advisory