CVE-2026-137503 in Budibase
Summary
by MITRE • 11/26/2026
Budibase before 4.0.0 contains a JSON injection vulnerability that allows attackers to inject JSON structure into S3 delete and Google Sheets row fields via unescaped template parameters. Attackers can submit crafted parameters to the queries endpoint to add extra Key entries, deleting chosen S3 objects or overriding Sheets row columns.
If you want to get best quality of vulnerability data, you may have to visit VulDB.
Analysis
by VulDB Data Team • 11/26/2026
The identified security flaw resides in Budibase versions prior to 4.0.0 and is classified as a JSON injection vulnerability resulting from improper neutralization of special elements used in data structures. This issue specifically affects the application's ability to safely process user-supplied input when interacting with external cloud services, namely Amazon S3 for object storage and Google Sheets for spreadsheet management. The root cause lies in the handling of template parameters within query operations where these inputs are not adequately escaped or sanitized before being incorporated into JSON payloads destined for API endpoints. This lack of proper validation allows an attacker to manipulate the structure of the JSON data sent during delete requests for S3 objects or row updates in Google Sheets, effectively bypassing intended logical constraints and altering the scope of actions performed by the application backend.
From a technical perspective, this vulnerability exploits the mechanism through which Budibase constructs API calls based on user-defined templates. When an attacker submits crafted parameters to the queries endpoint, they can inject additional key-value pairs into the JSON structure that dictates how S3 deletion requests or Google Sheets row modifications are executed. In the context of Amazon S3, by injecting extra Key entries, an adversary can force the application to delete arbitrary objects stored in connected buckets rather than just those intended by the legitimate user workflow. Similarly, for Google Sheets integration, the injection allows for overriding specific columns within a target row with malicious data or structural changes that were not part of the original template definition. This capability stems from the failure to distinguish between trusted configuration parameters and untrusted user input during the serialization process, leading to an unintended modification of the command structure itself rather than just its values.
The operational impact of this vulnerability is significant for organizations relying on Budibase for business logic automation involving cloud storage and data management services. For S3 integrations, the ability to delete arbitrary objects can lead to catastrophic data loss if critical files are removed without authorization or audit trail visibility within the application layer. This represents a severe integrity and availability risk, as attackers may target essential configuration files, user uploads, or backup archives. In scenarios involving Google Sheets, the capacity to override row columns enables unauthorized modification of shared datasets, potentially corrupting business records, injecting false data into analytics pipelines, or exfiltrating sensitive information by manipulating how data is written back to the sheet. The combination of these capabilities allows for both destructive actions and subtle data tampering that may go undetected if monitoring systems are not configured to detect anomalous API call patterns originating from the Budibase instance.
This vulnerability aligns with CWE-94, which describes Improper Control of Generation of Code or Commands known as Injection, specifically manifesting here through JSON structure manipulation rather than traditional code execution. It also maps to MITRE ATT&CK techniques related to Data Manipulation and potentially Command and Control if used for covert data exfiltration channels via manipulated sheet cells. To mitigate this risk, organizations must immediately upgrade Budibase to version 4.0.0 or later where the issue has been resolved through improved input validation and escaping mechanisms. Until an upgrade is feasible, administrators should restrict network access to the queries endpoint using strict firewall rules or API gateways that validate JSON payloads against expected schemas before they reach the application backend. Additionally, implementing least-privilege IAM policies for S3 buckets and Google Sheets service accounts can limit the blast radius by ensuring that even if injection occurs, the compromised credentials lack permissions to delete critical objects or modify sensitive spreadsheet columns. Regular auditing of API logs for unusual JSON structures in query parameters is also recommended to detect potential exploitation attempts early.