Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
Critical 10.0CVE-2026-137498

Budibase Server: MongoDB filter erasure via __proto__ keys (prototype pollution)

Published 26/11/2026 · Updated 01/12/2026 · budibase server

Summary

Budibase Server from version 3.39.18 up to (but not including) 4.0.0 contains a prototype pollution vulnerability (CWE-943). An unauthenticated attacker can supply __proto__ as a dynamic JSON key in PUBLIC queries. This reduces the MongoDB query filter to an empty object {}.

Per the CVSS vector (score 10.0, critical), the attack is carried out over the network with low complexity and requires no authentication and no user interaction. The impact extends beyond the vulnerable component (scope changed). A single request to the query execution endpoint is enough.

The attacker can then read, update or delete every document in the affected MongoDB collection. This means a full loss of data confidentiality and integrity. The vulnerability is not listed in CISA KEV. EPSS is about 1.1% (66th percentile).

Who is affected

Organizations running Budibase Server versions 3.39.18 through before 4.0.0 with MongoDB data sources and PUBLIC queries.

What to do

  1. Upgrade Budibase Server to version 4.0.0 or later.
  2. Check your running version and whether your apps expose PUBLIC queries against MongoDB data sources.
  3. Until you upgrade, restrict network access to the Budibase instance and its query execution endpoint. Consider temporarily removing public access to queries.
  4. Review request logs for __proto__ keys and verify data integrity in your MongoDB collections.
  5. Refer to the official advisory GHSA-x4w8-596q-fmh7 for details.

Affected products and versions

budibase server3.39.18 – < 4.0.0Fixed in: 4.0.0

CVSS vector, explained

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N

Attack vector
Network (from the internet)
Attack complexity
Low
Privileges required
None (no login)
User interaction
Not required
Scope
Affects other components
Confidentiality
High impact
Integrity
High impact
Availability
None

Weakness type (CWE)

  • CWE-943 Improper Neutralization of Special Elements in Data Query Logic

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.