All vulnerabilities

Servers and applications

GHSA-j82g-67x3-xcwh

Any authenticated user (incl. BASIC) can change the account-holder/admin email

Severity
High 8.1
Published
22 Jul 2026
Last changed
22 Jul 2026
Added to UpHeron
3 Nov 2026
Fixed in
3.40.0
Weakness
Weak password recovery (CWE-640)Missing authorization (CWE-862)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Sources
Project advisories (GitHub)

Description

PUT /api/global/users/tenant/owner (changeTenantOwnerEmail) reassigns the email of the tenant account holder (the top-privilege admin), saving with isAccountHolder:true, allowChangingEmail:true (deliberately bypassing the normal "cannot change the account-holder" protection). The route's only authorization is the cloudRestricted middleware, which is a no-op when SELF_HOSTED / DISABLE_ACCOUNT_PORTAL is set; the router-wide guard then requires only that the caller is authenticated. So any logged-in user — including the lowest-privilege BASIC app user — can repoint the admin's email to an attacker address, then run the public password-reset flow to fully take over the admin account.

  • Route: packages/worker/src/api/routes/global/users.ts:80-84 — PUT /api/global/users/tenant/owner on the cloudRestrictedRoutes group.
  • Group: packages/worker/src/api/routes/endpointGroups/standard.ts — cloudRestrictedRoutes = group(cloudRestricted) (no adminOnly/role check).
From Budibase/budibase's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
BudibaseServers and applications · github:budibase/budibase
  • Every version before 3.40.0

About Budibase

low-code development platform

From Wikidata, CC0 1.0.
Docker Hub pulls
2,327,272Docker Hub, 15 Nov 2026
GitHub stars
28,419GitHub, 15 Nov 2026
Forks
2,238GitHub, 15 Nov 2026
Latest release
v4.0.0GitHub, 15 Nov 2026
Released
10 Nov 2026GitHub
First published on GitHub
7 Jun 2019GitHub

References