Summary
CVE-2026-137498 is a prototype pollution vulnerability (CWE-943, improper neutralization of special elements in data query logic) in Budibase Server. An unauthenticated attacker can erase MongoDB query filters in PUBLIC queries by supplying __proto__ as a dynamic JSON key. The CVE record lists a CVSS v4.0 score of 9.9 and a CVSS v3.1 score of 10.0, both Critical.
Technical details
- Root cause: Budibase processes MongoDB queries in two template passes. The first pass safely creates an own
__proto__property. The second pass rebuilds the object withenrichedQuery[enrichedKey] = .... When the key is__proto__, this calls the inherited prototype setter and does not create an own property, so the query filter becomes{}. - Trigger conditions: The query must be a PUBLIC query. Authorization returns before authentication and CSRF validation for these queries.
- Attack vector: Network. The attacker needs no authentication and no user interaction.
- Impact: An empty filter matches every document. Per the advisory, an attacker can run
find({}),updateMany({})ordeleteMany({})without credentials. This can expose all documents in a collection or modify or delete the whole collection.
Affected software
- Budibase Server (
@budibase/server) from 3.39.18 up to, but not including, 4.0.0. The advisory confirms the issue in 3.39.18 through 3.44.0.
Severity
- CVSS v3.1 base score 10.0 (Critical):
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N - CVSS v4.0 base score 9.9 (Critical):
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
Mitigation and recommended actions
- Immediate: Upgrade Budibase Server to version 4.0.0 or later.
- If you cannot patch immediately: The sources reviewed do not list a workaround. Until you upgrade, restrict network access to the Budibase instance and review any PUBLIC queries that run against MongoDB data sources.

