Skip to main content

Budibase CVE-2026-122247

| EUVDEUVD-2026-131660 HIGH
Improper Access Control (CWE-284)
2026-11-20 GitHub_M GHSA-25qc-m4pw-2w8r
8.2
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach exposed public /api/global/users/init
  2. Delivery
    Supply unused attacker-chosen tenantId
  3. Exploit
    Init guard checks empty attacker tenant, passes
  4. Execution
    Create rogue global-admin doc and CouchDB database
  5. Impact
    Loop 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) Patch available 0.8% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

budibase < 3.50.0

Affected Packages

npm @budibase/server no fix
euvd budibase fix: 3.50.0

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

Vendor (GitHub_M) PRIMARY 8.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
vuln.today AI 8.2 HIGH

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).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
High

Lifecycle Timeline

2
Patch available
Nov 20, 2026 - 18:04 EUVD
CVE Published
Nov 20, 2026 - 16:43 cve.org
HIGH 8.2

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.8%
Top 41% exploitable
Prevalence
Low
popular open-source low-code platform, modest self-hosted production footprint
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.8%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

62
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +41
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2026-27702 CRITICAL POC
9.9 Feb 25

Unauthorized data access in Budibase low-code platform before 3.30.4 allows unauthenticated users to manipulate internal

CVE-2026-73300 CRITICAL POC
9.6 Aug 12

SQL injection in Budibase's MySQL integration (all versions prior to 3.40.0) lets attackers execute arbitrary, stacked S

CVE-2026-31816 CRITICAL POC
9.1 Mar 09

Authorization bypass in Budibase 3.31.4 and earlier. The authorized() middleware can be bypassed, enabling injection att

CVE-2026-41428 CRITICAL POC
9.1 Apr 24

Authentication bypass in Budibase low-code platform (versions prior to 3.35.4) allows remote unauthenticated attackers t

CVE-2026-25040 HIGH POC
8.8 Jan 29

Budibase is a low code platform for creating internal tools, workflows, and admin panels. [CVSS 8.8 HIGH]

CVE-2026-73406 HIGH POC
7.5 Aug 12

Unauthenticated user enumeration and metadata disclosure in Budibase prior to 3.39.32 exposes tenant identifiers, email

CVE-2026-31818 CRITICAL
9.9 Apr 03

Server-Side Request Forgery (SSRF) in Budibase's REST datasource connector (versions prior to 3.33.4) allows authenticat

CVE-2026-73308 MEDIUM POC
5.7 Aug 12

OAuth2 access and refresh token theft in Budibase's automation testing pipeline exposes SSO-authenticated builder creden

CVE-2022-3225 MEDIUM POC
5.7 Sep 16

Improper Control of Dynamically-Managed Code Resources in GitHub repository budibase/budibase prior to 1.3.20. Rated med

CVE-2026-30240 CRITICAL
9.6 Mar 09

Path traversal in Budibase low-code platform 3.31.5 and earlier allows attackers to read arbitrary files through the app

CVE-2026-82244 CRITICAL
9.4 Aug 28

Remote code execution in Budibase self-hosted server before 3.41.3 lets authenticated administrators run arbitrary JavaS

CVE-2026-73306 MEDIUM POC
5.3 Aug 12

Account enumeration and targeted denial-of-service in Budibase prior to 3.39.25 stem from an observable response discrep

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy