Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessEnumerate published app ID and PUBLIC query ID
-
DeliverySend POST to /api/v2/queries/<id> with key=__proto__
-
ExploitSecond-pass assignment invokes prototype setter, filter becomes {}
-
ExecutionMongoDB find/updateMany/deleteMany runs on all documents
-
ImpactMass 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.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.
Articles & Coverage 1
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
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.
Traccar Traccar Server version 4.0 and earlier contains a CWE-94: Improper Control of Generation of Code ('Code Injectio
Account takeover in self-hosted Bitwarden Server before 2026.6.0 lets a low-privileged organization member steal any oth
Full user impersonation in the Laci Synchroni sync server (backend prior to 1.2.3) lets an attacker take over any accoun
Provider service users in Bitwarden Server Cloud can hijack arbitrary organizations via unauthorized API endpoint access
NoMachine Server is affected by Integer Overflow. Rated high severity (CVSS 8.8), this vulnerability is low attack compl
NoMachine Server is affected by Buffer Overflow. Rated high severity (CVSS 8.8), this vulnerability is low attack comple
Authentication bypass in Bitwarden Server versions prior to 2026.4.1 allows authenticated users with SCIM management pri
JetAudio jetCast Server 2.0 contains a stack-based buffer overflow vulnerability in the Log Directory configuration fiel
Credential-holding attackers can completely bypass TOTP two-factor authentication on Sync-in Server versions prior to 2.
A broken authentication vulnerability in 4D SAS 4D Server software v17, v18, v19 R7, and earlier allows attackers to sen
An information disclosure vulnerability in 4D SAS 4D Server Application v17, v18, v19 R7 and earlier allows attackers to
Privilege escalation in self-hosted Bitwarden Server before 2026.5.0 lets an authenticated organization member holding a
EUVD-2026-136576
NVD
CVE.org
EPSS
GitHub
Exploit-DB