Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed public /api/global/users/init
-
DeliverySupply unused attacker-chosen tenantId
-
ExploitInit guard checks empty attacker tenant, passes
-
ExecutionCreate rogue global-admin doc and CouchDB database
-
ImpactLoop unique tenantIds to exhaust datastore (DoS)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a self-hosted Budibase instance running single-tenant mode (multiTenancy:false, SELF_HOSTED:true, disableAccountPortal:false) on a version prior to 3.50.0 (or prior to 4.0.0), with the worker API reachable (typically fronted by the bundled nginx). No credentials, session, or CSRF token are needed: the attacker simply submits a tenantId that has not been used before. Limiting factors that reduce real-world severity: on account-portal/cloud deployments the cloudRestricted middleware enforces an internal API key, so those are not exploitable; and while multi-tenancy stays disabled the created global-admin cannot authenticate against the default tenant, so the confirmed impact is restricted to persistent unauthenticated writes, CouchDB datastore exhaustion/DoS, and dormant admin records that could activate only if multi-tenancy is later enabled or during migration/restore operations. |
| Impact | Signals are consistent and point to a real but bounded priority rather than an emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) confirms a remote, low-complexity, unauthenticated attack with no user interaction, and the 8.2 base score is driven almost entirely by A:H (availability) plus I:L (integrity), with C:N - there is no confidentiality exposure and no remote code execution. A full, live-captured working proof-of-concept is published inside the GHSA advisory (curl + Burp request/response pairs plus direct CouchDB verification), so exploitability is demonstrated, not theoretical. No CISA KEV listing is present in the input and no EPSS score was provided, so there is no evidence of active in-the-wild exploitation and widespread automated weaponization cannot be confirmed or ruled out from the data given. The vuln.today decision label is 'this_week', which aligns with a high-severity, easily-exploited, but non-RCE/non-data-disclosure issue. Crucially, the advisory itself documents a self-imposed ceiling (Step 6): while multiTenancy is disabled the injected global-admin cannot log in, so the demonstrable impact is persistent unauthenticated writes, datastore resource exhaustion/DoS, and latent rogue admin records that only become dangerous if multi-tenancy is later enabled or during migration/restore. Net: a genuine high-priority patching item for exposed self-hosted single-tenant instances, but not a full compromise primitive today. |
| Exploit ScenarioDerived | An unauthenticated attacker reaches the internet-exposed self-hosted single-tenant worker API and sends POST /api/global/users/init with an unused, attacker-chosen tenantId, causing the one-time initialization guard (which only checks the attacker's chosen tenant namespace) to pass. This creates a new <tenantId>_global-db CouchDB database and a global-admin user document with no session or CSRF token; scripting the request across thousands of unique tenant IDs exhausts datastore resources (disk, inodes, _dbs metadata shard) and plants latent rogue admin accounts. A working public proof-of-concept with live curl/Burp captures is included in the GHSA-25qc-m4pw-2w8r advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 20, 2026
Unauthenticated remote attackers can defeat the one-time initialization lock on self-hosted, single-tenant Budibase deployments prior to 3.50.0 (and prior to 4.0.0) by posting an unused tenantId to the public POST /api/global/users/init endpoint, which causes the worker to create a new CouchDB database (<tenantId>_global-db) and a global-administrator document without any session or CSRF token. Because the init guard is evaluated inside the tenant namespace chosen by the attacker, the endpoint becomes a repeatable unauthenticated persistent-write primitive: looping over unique tenant identifiers creates unbounded databases and admin documents, exhausting datastore resources. While multi-tenancy remains disabled the injected administrator cannot authenticate against the default tenant, so the confirmed impact is bounded to persistent writes, denial of service and dormant privileged records that could activate if multi-tenancy is later enabled or during migration/restore; a public proof-of-concept with live captured HTTP requests is published in the vendor advisory, the issue is not listed as actively exploited (no CISA KEV entry), and fixes ship in 3.50.0 and 4.0.0.
RemediationAI
Vendor-released patches are available: upgrade self-hosted Budibase to 3.50.0 or 4.0.0 (advisory https://github.com/Budibase/budibase/security/advisories/GHSA-25qc-m4pw-2w8r, releases https://github.com/Budibase/budibase/releases/tag/v3.50.0 and https://github.com/Budibase/budibase/releases/tag/v4.0.0), which makes the init controller require a valid internal API key for any request whose tenantId is not the default tenant or when multi-tenancy is enabled; no separate workaround is documented by the vendor. Where upgrading is not immediately possible, the practical compensating control is to block POST /api/global/users/init at the front nginx or any upstream proxy once the instance is provisioned, since bootstrap has already occurred on a running deployment - the trade-off is that legitimate re-provisioning and account-portal-driven tenant creation flows through that route will fail until the rule is removed. Do not expose the worker API directly to untrusted networks as an alternative; that reduces the attack surface but breaks the normal single-front-door topology. Because the exploit leaves real artefacts, also audit CouchDB for unexpected <tenant>_global-db databases and for user documents carrying admin.global and builder.global set to true in non-default tenants, and delete any that are not legitimate, since the dormant admin records could become usable if multi-tenancy is later enabled or during migration/restore operations.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is an access-control scoping defect (CWE-284, with the advisory also tagging CWE-306 missing authentication, CWE-863 incorrect authorization and CWE-770 resource allocation without limits) in the Budibase worker service, package npm/@budibase/server, TypeScript sources under packages/worker/src. In vulnerable builds POST /api/global/users/init is registered in PUBLIC_ENDPOINTS (so auth.buildAuthMiddleware marks it public and the worker's 'no public access' gate lets it through without a session), in NO_TENANCY_ENDPOINTS (so the tenancy middleware does not pin the request to the legitimate 'default' tenant and the tenantId is taken verbatim from the JSON body), and in NO_CSRF_ENDPOINTS. The cloudRestricted middleware that would require an internal API key is a no-op when SELF_HOSTED is true and DISABLE_ACCOUNT_PORTAL is false, so it provides no protection here. The controller then runs tenancy.doInTenant(attackerTenantId, ...) and its only guard, checkAnyUserExists(), resolves through tenancy.getGlobalDB() to <tenantId>_global-db; for any unused tenant that database is empty, the guard passes, and userSdk.db.createAdminUser() writes a document with admin.global = true and builder.global = true. The trigger is a plain unauthenticated HTTP POST with an attacker-chosen tenantId; no race, timing or memory-corruption condition is involved. The official fix (commit 362a7fe9) adds a check in packages/worker/src/api/controllers/global/users.ts requiring a valid internal API key whenever the instance is multi-tenant or the supplied tenantId differs from constants.DEFAULT_TENANT_ID, returning 403 and leaving no tenant database behind.
Know when Budibase gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
Remote, no-auth, single crafted request gives AV:N/AC:L/PR:N/UI:N; no data read (C:N), limited latent rogue-admin writes (I:L), and unbounded database creation enabling datastore DoS (A:H).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
CWE-284 (Improper Access Control), with the advisory also tagging CWE-306, CWE-863 and CWE-770.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
CVE-2026-122247 in self-hosted Budibase (versions prior to 3.50.0/4.0.0) allows unauthenticated attackers to bypass initialization controls, creating unauthorized databases and global-admin records. This can lead to resource exhaustion and dormant privileged accounts that may activate if multi-tenancy is enabled later. Leadership should care due to potential service disruption and latent security risks.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict network access to the Budibase instance, monitor and block suspicious requests to the init endpoint, and regularly audit CouchDB databases for unauthorized entries.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Unauthorized data access in Budibase low-code platform before 3.30.4 allows unauthenticated users to manipulate internal
SQL injection in Budibase's MySQL integration (all versions prior to 3.40.0) lets attackers execute arbitrary, stacked S
Authorization bypass in Budibase 3.31.4 and earlier. The authorized() middleware can be bypassed, enabling injection att
Authentication bypass in Budibase low-code platform (versions prior to 3.35.4) allows remote unauthenticated attackers t
Budibase is a low code platform for creating internal tools, workflows, and admin panels. [CVSS 8.8 HIGH]
Unauthenticated user enumeration and metadata disclosure in Budibase prior to 3.39.32 exposes tenant identifiers, email
Server-Side Request Forgery (SSRF) in Budibase's REST datasource connector (versions prior to 3.33.4) allows authenticat
OAuth2 access and refresh token theft in Budibase's automation testing pipeline exposes SSO-authenticated builder creden
Improper Control of Dynamically-Managed Code Resources in GitHub repository budibase/budibase prior to 1.3.20. Rated med
Path traversal in Budibase low-code platform 3.31.5 and earlier allows attackers to read arbitrary files through the app
Remote code execution in Budibase self-hosted server before 3.41.3 lets authenticated administrators run arbitrary JavaS
Account enumeration and targeted denial-of-service in Budibase prior to 3.39.25 stem from an observable response discrep
EUVD-2026-131660
GHSA-25qc-m4pw-2w8r
NVD
CVE.org
EPSS
Exploit-DB