Skip to main content

Budibase Server CVE-2026-137498

| EUVDEUVD-2026-136576 CRITICAL
Improper Neutralization of Special Elements in Data Query Logic (CWE-943)
2026-11-26 VulnCheck
9.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Enumerate published app ID and PUBLIC query ID
  2. Delivery
    Send POST to /api/v2/queries/<id> with key=__proto__
  3. Exploit
    Second-pass assignment invokes prototype setter, filter becomes {}
  4. Execution
    MongoDB find/updateMany/deleteMany runs on all documents
  5. Impact
    Mass read, modification, or deletion of the collection

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Query language parameterization
Exploitation Conditions

Exploitation requires a specific but supported deployment pattern, not a default install: (1) a builder has configured a MongoDB datasource; (2) a query is published with execution permission PUBLIC; (3) that query uses a request parameter as a dynamic JSON key, e.g. {"{{ key }}":"fixed"} (the dynamic-key feature added by #18987); (4) the attacker knows the published app ID and query ID, which are exposed in the published app's normal requests; and (5) recaptcha is disabled for query execution or the attacker satisfies it. Within these conditions no session, account, CSRF token, or user interaction is needed, and a single request suffices. Limiting factors that reduce realistic blast radius: the impact is confined to the single collection the builder selected for that query (the advisory explicitly does not claim arbitrary collection selection), integrity/availability impact only occurs where PUBLIC updateMany/deleteMany queries exist, and installs without a PUBLIC dynamic-key MongoDB query are not exposed.

Impact

Multiple signals align toward genuine high priority, but with important configuration caveats. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N, VC:H/VI:H) and the vuln.today Decision label 'act_now' both point to network-reachable, unauthenticated, low-complexity exploitation with high confidentiality and integrity impact - a single request can reduce a MongoDB filter to {} and read, modify, or delete every document in the targeted collection. No EPSS score is provided and the CVE is NOT in CISA KEV, so there is no confirmation of widespread or active exploitation; urgency here rests on the act_now decision label and the severity of impact rather than observed in-the-wild activity. A detailed PoC and a local source-level harness appear in the GHSA advisory, but the input does not mark exploit code as 'Publicly available (confirmed)', so this is a public PoC reference that is not verified as working, weaponized exploit code. Crucially, the raw CVSS understates the real-world gating: the flaw is only reachable when a builder has configured a MongoDB datasource AND exposed a query with PUBLIC execution permission that uses a dynamic request parameter as a JSON key - so despite PR:N, exploitability depends heavily on a specific, non-universal deployment pattern. Net: treat as a real, act-now priority for any Budibase install matching those conditions, while recognizing exposure is config-dependent, not automatic for every deployment.

Exploit ScenarioDerived

An anonymous attacker who knows a published Budibase app ID and the ID of a PUBLIC MongoDB query (both visible in the published app's normal traffic) sends one unauthenticated POST to /api/v2/queries/<queryId> with parameters {"key":"__proto__"}. The __proto__ key triggers the inherited prototype setter during the second enrichment pass, so the stored predicate collapses to {} and MongoDB returns, updates, or deletes every document in the collection. A public PoC reference exists in the GHSA advisory (including a local in-memory proof and a step-by-step HTTP/PowerShell walkthrough); it is not verified as working production exploit code, and the low attack complexity (AC:L) means no special timing or grooming is needed once the PUBLIC query exists.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 1.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 26, 2026

Unauthenticated MongoDB filter erasure in Budibase Server 3.39.18 through 3.44.0 lets a remote attacker read, modify, or delete every document in a builder-selected collection when a published query runs with PUBLIC execution permission and uses a request parameter as a dynamic JSON key. The flaw is a prototype-pollution/NoSQL-injection path: supplying __proto__ as the key collapses the MongoDB predicate to {}, and no session, account, CSRF token, or user interaction is required once the documented PUBLIC-query preconditions are met. The vendor fixed this in 4.0.0; a public proof-of-concept request sequence is published in the advisory, but no CISA KEV listing or confirmed active exploitation appears in the available data, and exposure is limited to installs with the specific PUBLIC dynamic-key MongoDB query configuration.

RemediationAI

Upgrade to Budibase Server 4.0.0 or later (npm @budibase/server 4.0.0), the vendor-released fix, using the GHSA advisory at https://github.com/Budibase/budibase/security/advisories/GHSA-x4w8-596q-fmh7. If immediate upgrade is not possible, the most direct compensating control is to remove PUBLIC execution permission from MongoDB queries that use dynamic JSON keys, or disable those queries entirely; this stops anonymous exploitation but breaks the intended anonymous app functionality for those queries. Keep recaptcha enabled for query execution and remove PUBLIC updateMany/deleteMany queries where they are not strictly needed, since those are the paths that turn the filter erasure into broad modification or deletion. The advisory also recommends rejecting __proto__, prototype, and constructor after key enrichment, using null-prototype objects or Object.fromEntries/Object.defineProperty consistently in enrichJsonValue and enrichContextObject, validating the final MongoDB filter after enrichment, and adding regression tests for magic keys across find, updateMany, and deleteMany; blocking these keys will reject any legitimate template that uses those names.

Affected VersionsENISA

Server 3.39.18 <4.0.0

Affected Packages

euvd server fix: 4.0.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected technology is Budibase's server-side query-template enrichment for MongoDB datasources, and the root cause spans CWE-943 (improper neutralization of special elements in data query logic / NoSQL injection) and CWE-1321 (prototype pollution). Budibase supports using request parameters as JSON keys in query templates (the dynamic-key feature added by #18987); the first template pass uses Object.fromEntries and correctly creates an own __proto__ data property, but the second pass in packages/server/src/sdk/workspace/queries/queries.ts starts from a normal object (enrichedQuery = {}) and assigns enrichedQuery[enrichedKey] = ... . When the enriched key is __proto__, that assignment invokes the inherited prototype setter rather than creating an own property, so the MongoDB predicate is lost and the final filter becomes {}. The middleware in packages/server/src/middleware/authorized.ts returns next() for a PUBLIC resource role before checking session authentication and CSRF, and packages/server/src/integrations/mongodb.ts passes the resulting object unchanged to collection.find, updateMany, or deleteMany; the blast radius is the single collection selected by the builder, not arbitrary collection selection. The behavior was introduced in 3.39.18 after the fix for CVE-2026-54350 and is confirmed through 3.44.0 and master commit a7575af5047529258af7ca6c008194100b087ddd; version 4.0.0 is fixed.

Know when Server gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 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
vuln.today AI 9.8 CRITICAL

Unauthenticated single-request trigger against a PUBLIC endpoint gives AV:N/AC:L/PR:N/UI:N; find/updateMany/deleteMany on the whole collection yield C:H/I:H/A:H, scored same-scope conservatively.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 26, 2026 - 17:02 EUVD
CVE Published
Nov 26, 2026 - 16:01 cve.org
CRITICAL 9.9

DescriptionCVE.org

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.

Technical POC Analysis

CWE-943 (improper neutralization of special elements in data query logic); the advisory also tags CWE-1321 (improperly controlled modification of object prototype attributes).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A critical vulnerability in Budibase Server (versions 3.39.18 through 3.44.0) allows unauthenticated attackers to bypass intended access controls and read, modify, or delete all data in certain MongoDB collections. This affects organizations using Budibase to build internal applications with publicly accessible queries that use dynamic JSON keys, potentially leading to unauthorized data exposure or integrity loss. Leadership should prioritize remediation given the high impact on data confidentiality and integrity and the absence of a vendor patch for these versions.

Business Impact: High
Compensating Controls

Upgrade to Budibase Server 4.0.0 or later. If unable to upgrade immediately, avoid using request parameters as dynamic JSON keys in publicly executable queries, and restrict PUBLIC execution permissions to trusted queries only.

Threat Intelligence Overview

EPSS Score
1.1%
Top 35% exploitable
Prevalence
Medium
popular open-source low-code platform, moderate self-hosted and internal-tool adoption
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 1.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

51
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +50
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

NoSQL injection exploits databases that don't use traditional SQL syntax-like MongoDB, CouchDB, or Redis-by manipulating queries through unsanitized user input.

More in Server

View all
CVE-2018-1000881 CRITICAL POC
9.8 Dec 20

Traccar Traccar Server version 4.0 and earlier contains a CWE-94: Improper Control of Generation of Code ('Code Injectio

CVE-2026-60104 CRITICAL POC
9.3 Jul 08

Account takeover in self-hosted Bitwarden Server before 2026.6.0 lets a low-privileged organization member steal any oth

CVE-2026-54047 CRITICAL POC
9.2 Sep 11

Full user impersonation in the Laci Synchroni sync server (backend prior to 1.2.3) lets an attacker take over any accoun

CVE-2026-43639 HIGH POC
8.9 May 11

Provider service users in Bitwarden Server Cloud can hijack arbitrary organizations via unauthorized API endpoint access

CVE-2021-42973 HIGH POC
8.8 Dec 07

NoMachine Server is affected by Integer Overflow. Rated high severity (CVSS 8.8), this vulnerability is low attack compl

CVE-2021-42972 HIGH POC
8.8 Dec 07

NoMachine Server is affected by Buffer Overflow. Rated high severity (CVSS 8.8), this vulnerability is low attack comple

CVE-2026-43640 HIGH POC
8.6 May 11

Authentication bypass in Bitwarden Server versions prior to 2026.4.1 allows authenticated users with SCIM management pri

CVE-2019-25609 HIGH POC
8.6 Mar 22

JetAudio jetCast Server 2.0 contains a stack-based buffer overflow vulnerability in the Log Directory configuration fiel

CVE-2026-58269 HIGH POC
8.1 Sep 21

Credential-holding attackers can completely bypass TOTP two-factor authentication on Sync-in Server versions prior to 2.

CVE-2023-30223 HIGH POC
7.5 Jun 16

A broken authentication vulnerability in 4D SAS 4D Server software v17, v18, v19 R7, and earlier allows attackers to sen

CVE-2023-30222 HIGH POC
7.5 Jun 16

An information disclosure vulnerability in 4D SAS 4D Server Application v17, v18, v19 R7 and earlier allows attackers to

CVE-2026-57520 HIGH POC
7.1 Jun 25

Privilege escalation in self-hosted Bitwarden Server before 2026.5.0 lets an authenticated organization member holding a

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy