Description
Budibase versions before 3.40.0 contain an authorization/authentication bypass in the PUT /api/global/users/tenant/owner (changeTenantOwnerEmail) endpoint. On self-hosted instances (SELF_HOSTED or DISABLE_ACCOUNT_PORTAL set), the cloudRestricted middleware is a no-op and the route is protected only by a general authentication check, so any authenticated user — including a lowest-privilege BASIC app user — can reassign the tenant account-holder (top-privilege admin) email to an attacker-controlled address. The attacker can then use the public password-reset flow to take over the admin account, leading to full administrative access.
Published: 2026-08-13
Score: 8.6 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Budibase versions prior to 3.40.0 expose a critical authentication flaw in the tenant owner email change endpoint. Because the cloudRestricted middleware is effectively disabled on self‑hosted setups, any authenticated user, even one with the lowest privilege, can reuse the endpoint to change the tenant’s account‑holder email to an address controlled by the attacker. This owner‑email flip enables the attacker to trigger the publicly available password‑reset flow and subsequently take full control of the administrative account, compromising the entire instance. The weakness is classified as CWE‑640, reflecting an authorization bypass that elevates privileges. The description does not detail the password‑reset exploitation step, so this downstream admin takeover is inferred from the stated capabilities.

Affected Systems

All self‑hosted deployments of Budibase whose version is below 3.40.0 and that have the SELF_HOSTED or DISABLE_ACCOUNT_PORTAL options enabled. The vulnerability resides in the PUT /api/global/users/tenant/owner endpoint, which is available only when the application is run in a self‑hosted configuration.

Risk and Exploitability

The CVSS score of 8.6 signals high severity, and the absence of an EPSS value means there is currently no public metric for exploit likelihood. Because the bug requires an already‑authenticated user to make the request, the attack vector is limited to users who can log in to the system. Nevertheless, any authenticated user can modify the tenant owner email, creating a straightforward path to full administrative takeover once the password‑reset mechanism is invoked. The vulnerability is not listed in the CISA KEV catalog, indicating that no mass exploitation campaign has yet been reported, but the combination of a high CVSS score and the ease of use makes it a high‑risk issue for impacted installations. The indication that the attack can be performed by any authenticated user and that this can lead to full administrative takeover is inferred, as the CVE description focuses on the email change capability but does not explicitly mention the password‑reset exploitation step.

Generated by OpenCVE AI on August 14, 2026 at 01:12 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Budibase installation to version 3.40.0 or later, where the ownership‑email change endpoint is correctly protected.
  • If an upgrade cannot be performed immediately, block or restrict the /api/global/users/tenant/owner API route for non‑administrators using a firewall or reverse‑proxy configuration.
  • Reset all administrative passwords and review access logs for evidence of unauthorized changes to tenant owner information.

Generated by OpenCVE AI on August 14, 2026 at 01:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 13 Aug 2026 22:15:00 +0000

Type Values Removed Values Added
Description Budibase versions before 3.40.0 contain an authorization/authentication bypass in the PUT /api/global/users/tenant/owner (changeTenantOwnerEmail) endpoint. On self-hosted instances (SELF_HOSTED or DISABLE_ACCOUNT_PORTAL set), the cloudRestricted middleware is a no-op and the route is protected only by a general authentication check, so any authenticated user — including a lowest-privilege BASIC app user — can reassign the tenant account-holder (top-privilege admin) email to an attacker-controlled address. The attacker can then use the public password-reset flow to take over the admin account, leading to full administrative access.
Title Budibase before 3.40.0 Authentication Bypass via Tenant Owner Email
First Time appeared Budibase
Budibase budibase
Weaknesses CWE-640
CPEs cpe:2.3:a:budibase:budibase:*:*:*:*:*:*:*:*
Vendors & Products Budibase
Budibase budibase
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'}

cvssV4_0

{'score': 8.6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Budibase Budibase
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-08-13T21:54:45.304Z

Reserved: 2026-08-10T15:16:31.371Z

Link: CVE-2026-72856

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-13T22:17:24.893

Modified: 2026-08-13T22:17:24.893

Link: CVE-2026-72856

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T01:15:17Z

Weaknesses
  • CWE-640

    Weak Password Recovery Mechanism for Forgotten Password