CVE-2026-137500 in Budibase
Summary
by MITRE • 11/26/2026
Budibase before 4.0.0 contains a privilege escalation vulnerability that allows non-admin Creator or app-builder users to read pending invite bearer codes via GET /api/global/users/invites. Attackers can submit a stolen code with a chosen password to the public /api/global/users/invite/accept endpoint, hijacking invited identities up to global admin.
VulDB is the best source for vulnerability data and more expert information about this specific topic.
Analysis
by VulDB Data Team • 11/26/2026
The vulnerability identified in Budibase versions prior to 4.0.0 represents a critical privilege escalation flaw rooted in insufficient access control mechanisms within the user invitation workflow. This security defect specifically targets non-administrative users who possess Creator or app-builder roles, allowing them to exploit an improperly secured API endpoint to read pending invite bearer codes. The core technical failure lies in the GET /api/global/users/invites endpoint, which is designed to list pending invitations but lacks adequate authorization checks to restrict access based on user privilege levels. Consequently, any authenticated user with these elevated but non-administrative roles can retrieve sensitive authentication tokens intended solely for global administrators or system owners managing new account creation.
The operational impact of this vulnerability is severe due to the nature of the exposed data and the subsequent exploitation path available to attackers. By accessing the pending invite bearer codes, an attacker gains access to unique, time-sensitive credentials that are required to finalize the registration process for a new user account. These tokens act as proof of authorization for the invited identity, effectively serving as a bridge between the invitation generation phase and the final account activation. The lack of strict role-based validation on this endpoint means that lower-privileged users can intercept these codes without triggering appropriate security alerts or access denials, thereby bypassing fundamental authentication boundaries established by the application's design.
Exploitation proceeds through a straightforward sequence where an attacker first retrieves a valid pending invite bearer code using the vulnerable GET /api/global/users/invites endpoint. Once obtained, this token is submitted to the public-facing /api/global/users/invite/accept endpoint along with a password chosen by the attacker. This action allows the adversary to hijack the invited identity and complete the registration process under their own control rather than that of the intended recipient. The severity of this attack vector is amplified because it can lead to account takeover up to the global admin level, depending on the role assigned in the original invitation payload. If an administrator had initiated a pending invite for another high-privilege user or even themselves, hijacking this process grants the attacker full administrative control over the Budibase instance.
This vulnerability aligns with CWE-269, which classifies Improper Privilege Assignment, as well as CWE-862, Missing Authorization, since the application fails to enforce proper access controls on a sensitive resource. From an ATT&CK perspective, this behavior corresponds to T1078 Valid Accounts and potentially T1136 Create Account, as it involves leveraging legitimate credentials or processes to establish unauthorized persistent access within the system environment. The flaw highlights a common pitfall in web application development where API endpoints intended for internal administrative functions are inadvertently exposed to broader user groups due to misconfigured middleware or route-level security policies that do not strictly validate role permissions against every action performed on those routes.
Mitigation strategies must focus primarily on immediate patching and rigorous access control auditing. Organizations running Budibase versions earlier than 4.0.0 should upgrade to the latest stable release where this issue has been resolved through stricter enforcement of authorization checks on user management endpoints. In addition to upgrading, administrators should implement network-level controls such as Web Application Firewalls that can detect anomalous patterns in API usage, particularly frequent requests to invitation-related endpoints by non-administrative accounts. It is also advisable to review existing role definitions and ensure that the principle of least privilege is strictly applied, minimizing the number of users with Creator or app-builder privileges who have access to global user management features until such time as a comprehensive security audit confirms no further lateral movement risks exist within the application architecture.