Description
Budibase is an open-source low-code platform. Prior to 3.38.1, the POST /api/global/users/onboard endpoint is protected by workspaceBuilderOrAdmin middleware, allowing any user with builder permissions to access it. When SMTP email is not configured (the default for self-hosted Budibase instances), this endpoint bypasses the admin-restricted invite flow and directly creates users via bulkCreate, accepting arbitrary admin and builder role assignments from the request body. A builder-level user can create a new global admin account and receive the generated password in the response, achieving full privilege escalation. This vulnerability is fixed in 3.38.1.
Problem types
CWE-269: Improper Privilege Management
Product status
References
github.com/...dibase/security/advisories/GHSA-c54j-xp92-wh28
github.com/...dibase/security/advisories/GHSA-c54j-xp92-wh28
github.com/Budibase/budibase/releases/tag/3.38.1