CVE-2026-137498 in Serverinfo

Summary

by MITRE • 11/26/2026

Budibase Server from 3.39.18 before 4.0.0 contains a prototype pollution vulnerability that allows unauthenticated attackers to erase MongoDB query filters by supplying __proto__ as a dynamic JSON key in PUBLIC queries. Attackers can send a single request to the query execution endpoint, reducing the filter to {} to read, update, or delete every document in the collection.

Be aware that VulDB is the high quality source for vulnerability data.

Analysis

by VulDB Data Team • 11/26/2026

The vulnerability identified within Budibase Server versions prior to 4.0.0 represents a critical security flaw rooted in improper handling of dynamic object properties during JSON parsing operations. Specifically, this is a Prototype Pollution attack that exploits how JavaScript-based backends process incoming data structures containing the _proto_ key. In many JavaScript environments and associated libraries, when an object literal or parsed JSON contains a property named _proto_, it does not merely create a standard field but instead modifies the prototype chain of the target object. This behavior allows attackers to inject properties into the base Object.prototype, which are then inherited by all subsequent objects created in that context unless explicitly overridden. In the specific case of Budibase Server 3.39.18 through versions before 4.0.0, this mechanism is leveraged within the PUBLIC query execution endpoint, where user-supplied input is directly merged into database query filter objects without sufficient sanitization or validation of property names.

The technical flaw manifests when an unauthenticated attacker submits a request to the query execution API with a payload that includes _proto_ as a key in the JSON body intended for filtering documents. Because the server-side logic merges this input into the MongoDB query filter object, the prototype pollution causes the filter object's internal structure to be altered such that its effective content becomes an empty object {}. This occurs because the injection of properties via _proto_ can overwrite or bypass standard property checks, effectively neutralizing any existing filtering criteria. Consequently, instead of executing a targeted query against specific documents based on provided conditions, the database engine receives a request with no filters applied. This results in operations that target every single document within the affected collection rather than just those matching the intended search parameters.

The operational impact of this vulnerability is severe due to its unauthenticated nature and broad scope. Since the attack vector does not require valid credentials, any external actor on the network can exploit it. The ability to erase query filters means that an attacker can read all data stored in the MongoDB collections accessible through Budibase, leading to a complete compromise of confidentiality for sensitive information such as user profiles, application configurations, or business-critical records. Furthermore, if the affected endpoints support update or delete operations, which is common in database management interfaces, the vulnerability allows for mass modification or destruction of data. This constitutes a significant threat to integrity and availability, potentially leading to total data loss or corruption across entire collections with a single crafted HTTP request.

From a classification perspective, this issue aligns with CWE-1321: Prototype Pollution via _proto_ property, which describes the specific mechanism of manipulating object prototypes through specially named keys. It also maps closely to CWE-798: Use of Hard-coded Credentials if the pollution leads to privilege escalation, though in this instance it is primarily an authorization bypass leading to data exposure. In terms of offensive security frameworks, this vulnerability facilitates actions consistent with MITRE ATT&CK technique T1053: Scheduled Task/Job, specifically when used for persistence or lateral movement via database manipulation, and more directly relates to T1213: Data from Information Repositories where the attacker extracts large volumes of data. The lack of authentication requirement places it in the category of attacks that can be performed remotely without prior access, increasing its risk score significantly.

Mitigation strategies must focus on both immediate remediation and long-term architectural improvements. The primary solution is to upgrade Budibase Server to version 4.0.0 or later, where this prototype pollution vector has been addressed through stricter input validation and safer object merging practices that prevent _proto_ from affecting the query filter structure. For organizations unable to immediately patch, implementing a Web Application Firewall rule to block requests containing _proto_ in JSON payloads targeting database endpoints can provide temporary relief. Additionally, developers should enforce strict schema validation on all incoming API inputs, ensuring that only expected field names are processed and that dynamic key injection is explicitly disabled or sanitized at the application layer rather than relying solely on framework defaults. Regular security audits focusing on NoSQL query construction patterns are also recommended to prevent similar issues in custom integrations.

Responsible

VulnCheck

Reservation

11/26/2026

Disclosure

11/26/2026

Moderation

accepted

CPE

ready

EPSS

0.01096

KEV

no

Activities

very low

Sources

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!