CVE-2026-137498: Budibase Server 3.39.18 before 4.0.0 MongoDB Filter Erasure via __proto__ Keys
Exploitation: None known · CVSS 10.0 Critical · Unauthenticated · Published 2026-11-26
Description
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.
Enclave's analysis
Budibase lets a published app expose a 'PUBLIC' query against a MongoDB datasource that uses dynamic JSON keys. Sending __proto__ as that key breaks the object the server builds internally and silently erases the query filter down to {}, so one unauthenticated request can read, update, or delete every document in whatever collection that query targets. A researcher reproduced the full chain on their own self-hosted test instance with a precise code-level trace, but no public exploit script, live-production confirmation, or in-the-wild activity has surfaced. Fix is simple: upgrade to Budibase Server 4.0.0, or pull PUBLIC-role queries that use dynamic keys until you do.
Fix
Upgrade server to 4.0.0; @budibase/server (npm) to 4.0.0.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| server | 3.39.18 before 4.0.0 | 4.0.0 |
| @budibase/server (npm) | >=3.39.18, <4.0.0 | 4.0.0 |