CVE-2026-137495 in Budibase
Summary
by MITRE • 11/26/2026
Budibase before 4.0.0 contains an insecure direct object reference vulnerability in the bulkDestroy function that allows authenticated users to delete rows from any workspace table by supplying foreign row IDs. Attackers with TABLE WRITE on one table can send row _id values from other tables to the DELETE /api/:sourceId/rows endpoint, causing data loss and workspace metadata deletion.
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Analysis
by VulDB Data Team • 11/26/2026
The vulnerability identified in Budibase versions prior to 4.0.0 represents a critical failure in access control mechanisms within the application's bulk destruction functionality. Specifically, this is an insecure direct object reference (IDOR) flaw located in the bulkDestroy function and associated API endpoint DELETE /api/:sourceId/rows. In secure software design, when an authenticated user requests to delete records from a specific table or workspace component, the backend system must strictly validate that the identifiers provided for deletion belong exclusively to resources within the authorized scope of that request. However, in this vulnerable implementation, the server fails to perform adequate authorization checks on the foreign row IDs supplied by the client. This allows an authenticated user who possesses write permissions for one specific table to manipulate the API payload and supply _id values belonging to rows in entirely different tables or workspaces. The system processes these deletion requests without verifying whether the requesting user has explicit permission to modify those particular target resources, thereby bypassing intended isolation boundaries between distinct data entities within the application architecture.
The operational impact of this vulnerability is severe, leading directly to unauthorized data destruction and potential compromise of workspace integrity. By exploiting this flaw, an attacker can delete rows from any table accessible via the API endpoint, regardless of their specific role or permission set for those tables. This results in significant data loss, as critical business information stored within the affected workspaces can be permanently erased without authorization. Furthermore, because row identifiers often link to metadata and structural definitions within Budibase's internal database model, deleting these rows can trigger cascading effects that corrupt workspace metadata. This corruption may render entire workspaces unusable or cause instability in the application environment, disrupting business operations and requiring complex recovery procedures from backups if available. The ability to delete arbitrary data undermines the fundamental principles of confidentiality and integrity protected by standard role-based access control models implemented within the platform.
From a classification perspective, this vulnerability aligns with CWE-639, which describes authorization bypass through direct object references, as well as CWE-284 regarding improper access control. In terms of offensive security tactics, this exploitation technique corresponds to MITRE ATT&CK techniques related to data destruction and lateral movement within application layers, specifically leveraging valid credentials to escalate privileges or impact availability by destroying critical assets. The root cause lies in the lack of server-side validation that maps incoming object identifiers against the user's actual permission matrix for each specific resource type. To mitigate this issue, developers must implement strict authorization checks at the point of data manipulation, ensuring that every row ID submitted for deletion is verified against the requesting user’s permissions for that specific table and workspace context before any database operations are executed. Upgrading to Budibase version 4.0.0 or later resolves this flaw by enforcing proper access controls on bulk destruction operations. Organizations relying on affected versions should immediately apply patches, review audit logs for signs of unauthorized deletion activity, and restore data from verified backups if damage has already occurred.