Critical · 9.9 Critical vulnerabilities CVE-2026-137498
Budibase Server: Unauthenticated Prototype Pollution Allows Full MongoDB Filter Bypass
Budibase Server versions from 3.39.18 before 4.0.0 contain a critical prototype pollution flaw (CVE-2026-137498) that lets unauthenticated attackers erase query filters on public queries, exposing entire MongoDB collections to read, update, or delete operations. No fix is currently available.
By PatchBriefing ·
Produced automatically from official sources with the help of AI. How we work →
AI summary
A critical vulnerability has been disclosed in Budibase Server affecting versions from 3.39.18 before 4.0.0. The flaw allows unauthenticated attackers to manipulate public query requests in a way that strips away intended data filters, potentially exposing an entire MongoDB collection to unauthorized read, update, or delete operations. At the time of publication, no fix is available.
What Happened
A prototype pollution vulnerability was identified in Budibase Server affecting versions from 3.39.18 before 4.0.0. The issue allows an unauthenticated attacker to send a specially crafted request to the query execution endpoint of a public query, using '__proto__' as a dynamic JSON key. This causes the configured MongoDB query filter to be erased, effectively reducing it to an empty filter ({}). As a result, the query returns or acts on every document in the targeted collection instead of only the intended subset.
Technical Cause
The vulnerability is classified as CWE-943 (Improper Neutralization of Special Elements in Data Query Logic) and stems from insufficient sanitization of dynamic JSON keys supplied by users. By submitting '__proto__' as a key within a public query request, an attacker can pollute the object prototype used to build the MongoDB filter. This pollution overwrites or erases the intended filter logic before the query reaches the database, bypassing any restrictions that were meant to scope the query to specific documents.
Why It Matters
Because the vulnerability requires no authentication and only a single crafted request, it is trivial to exploit against any publicly exposed Budibase query that connects to a MongoDB data source. A successful attack can expose, modify, or delete every document in the affected collection, which may include sensitive business or user data depending on how the application is configured.
Who Is Affected
Organizations running Budibase Server with versions from 3.39.18 before 4.0.0 that expose public queries backed by a MongoDB data source are affected. Any deployment relying on filtered public queries to restrict data access is at risk of having that restriction bypassed.
Affected Versions
Budibase Server versions from 3.39.18 up to (not including) 4.0.0 are affected by this vulnerability.
Fixes and Mitigation
No fix is currently available for this vulnerability. Organizations should treat this as an unresolved issue and apply compensating controls until a vendor update is released.
Recommended Action
Until a fix is available, organizations should restrict or disable public query endpoints that connect to MongoDB data sources where possible, and monitor Budibase for an official update addressing this issue. Review access logs for unusual requests containing '__proto__' as a JSON key targeting query execution endpoints. Do not rely on filter-based restrictions in public queries as a sole access control mechanism until this issue is resolved.
PatchBriefing score
9.9 / 10 · Critical
Official CVSS: 9.9
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N
Why this score
The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.
Affected versions
Reported fixes
No fix is currently available for this vulnerability. Organizations should treat this as an unresolved issue and apply compensating controls until a vendor update is released.
How this was built
2 source records were collected, matched and used to prepare the report above.
-
NVD (NIST) database
-
CVE.org database
Revision history
- Published
- Generated