Skip to main content

Budibase EUVDEUVD-2026-57821

| CVE-2026-73617 HIGH
Improper Neutralization of Special Elements in Data Query Logic (CWE-943)
2026-08-13 VulnCheck GHSA-rqxq-f5cc-3xp6
7.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Recon
    Obtain BASIC user credentials for target app
  2. Delivery
    Identify MongoDB-backed query with Handlebars parameter binding
  3. Exploit
    Submit crafted payload containing MongoDB $-operator through query parameter
  4. Install
    Handlebars renders payload verbatim (noEscaping: true) into query JSON string
  5. C2
    JSON.parse promotes injected operator into structured query object
  6. Execute
    MongoDB executes injected operator against collection
  7. Impact
    Exfiltrate all documents or execute $where JavaScript

Vulnerability Assessment

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

Three conditions must all hold: (1) the attacker possesses a valid, authenticated BASIC user account in the target Budibase application - unauthenticated exploitation is not possible, as confirmed by PR:L in the CVSS 4.0 vector; (2) the application uses the MongoDB datasource integration - SQL, REST, and other datasource types follow a separate parameterized code path and are unaffected; (3) at least one MongoDB query is configured with Handlebars parameter bindings that incorporate user-supplied values, specifically the pattern {"field": "{{ parameterName }}"} that Budibase's own documentation recommends for per-user data scoping. Applications using MongoDB queries with fully static, hardcoded filter documents (no {{ }} bindings) are not exploitable. Limiting factors: authentication is required, only MongoDB-backed apps are in scope, and exploitation requires identifying a query that accepts user-controlled parameters - internal-only Budibase deployments with tightly managed user registration significantly reduce exposure.

Impact

The CVSS 4.0 score of 7.1 with vector AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N reflects network-accessible exploitation requiring only low-privilege authentication and yielding high confidentiality impact. However, the VI:L (low integrity) rating is in tension with the advisory's explicit statement that attackers can perform arbitrary collection updates and deletes - a capability that arguably warrants VI:H; security teams should verify the actual write-operation scope with the vendor before relying on the published score for prioritization. No EPSS score was provided and this CVE is not listed in the CISA KEV catalog, so no quantitative exploitation probability is available. The lack of confirmed active exploitation is partially offset by the fact that the vulnerable pattern ({"email": "{{ currentUser.email }}"}) is the Budibase-documented approach for per-user data scoping, meaning any deployment following the official guidance is exposed. Attack complexity is genuinely low once a BASIC user account is obtained - no chaining or special timing required. The primary limiting factor is the prerequisite of a valid authenticated account and the use of MongoDB datasource, which bounds blast radius compared to unauthenticated vulnerabilities.

Exploit ScenarioDerived

An authenticated BASIC user submits a crafted input to a Budibase query parameter that injects a MongoDB operator - for example, supplying a value such as x", "email": {"$gt": " that exploits the Handlebars duplicate-key trick to override the builder's {"email": "{{ currentUser.email }}"} filter with {"$gt": ""}, which matches every document in the collection. Because noEscaping: true allows raw quotes and braces through and JSON.parse constructs a real object from the enriched string, the injected operator reaches collection.find() unmodified and the attacker receives all documents the database connection can access. A more privileged attacker could substitute a $where operator carrying arbitrary JavaScript to execute code within the MongoDB process, or use the same injection path against update or delete queries to modify or destroy collection data.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 13, 2026

NoSQL injection in Budibase's MongoDB datasource integration (versions before 3.40.0) allows any authenticated BASIC user to bypass per-user query-level access controls by injecting MongoDB operators into query parameters. The root cause is Handlebars enrichment configured with noEscaping: true followed by JSON.parse, which promotes attacker-supplied $-prefixed operators directly into MongoDB query documents without filtering - enabling full collection dumps, server-side JavaScript execution via $where, and unauthorized update or delete operations. No public exploit has been identified at time of analysis, though upstream fix commits are available and the vulnerability targets a configuration pattern recommended in Budibase's own documentation.

RemediationAI

Upgrade Budibase server to version 3.40.0 or later, which is the fix boundary stated in the CVE description. The upstream fix is implemented in GitHub PR #18907 (https://github.com/Budibase/budibase/pull/18907) and commit dd8c0654b35cd89ce3645f2355f4bf2ff9a5dd80; however, a tagged release at exactly 3.40.0 has not been independently verified beyond the CVE description's boundary statement - confirm the release tag before deploying in production. If immediate upgrade is not feasible, the most targeted compensating control is to disable or restrict access to any Budibase applications that use the MongoDB datasource integration, particularly those where queries include Handlebars bindings over user-controlled parameters such as {{ currentUser.email }}. Removing user-controlled parameter bindings from MongoDB queries and replacing them with server-side static filters eliminates the injection surface but requires rebuilding affected app queries. Restricting BASIC user access to MongoDB-backed applications is a viable but disruptive interim measure. Full advisory at https://github.com/Budibase/budibase/security/advisories/GHSA-pmpg-2mxq-6xwr.

Affected VersionsENISA

Server 0 <3.40.0

Affected Packages

npm @budibase/server no fix
euvd server fix: 3.40.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm, euvd

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

Technical ContextAI · show details

CWE-943 (Improper Neutralization of Special Elements in Data Query Logic - NoSQL) describes the root cause class precisely. In packages/server/src/sdk/workspace/queries/queries.ts (lines 105-125), Handlebars enriches every query string field using noEscaping: true, which is equivalent to triple-brace {{{...}}} rendering - all characters including double quotes and braces pass through unescaped. The enriched JSON string is then passed to JSON.parse, promoting attacker-controlled key-value pairs, including MongoDB $-prefixed operators, into a structured query object. In packages/server/src/integrations/mongodb.ts (lines 499-512), createObjectIds rewrites ObjectId(...) strings but performs no operator filtering, so the injected document reaches collection.find(), collection.update(), or collection.deleteOne() unchanged. By contrast, SQL datasources are protected through interpolateSQL() at packages/server/src/threads/query.ts:145, which uses driver-level bind variables. The affected CPE is cpe:2.3:a:budibase:server:*:*:*:*:*:*:*:* (npm package @budibase/server versions through 3.38.1).

Know when Budibase 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 7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 9.9 CRITICAL

Network-accessible with low complexity; PR:L for required BASIC account; S:C for cross-user data scope change; I:H given explicit arbitrary update/delete capability; A:L from potential document deletion.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/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
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Aug 13, 2026 - 13:01 EUVD
CVE Published
Aug 13, 2026 - 11:28 cve.org
HIGH 7.1

DescriptionCVE.org

Budibase before 3.40.0 contains a NoSQL injection vulnerability in the MongoDB datasource integration where user-supplied parameters are enriched with handlebars using noEscaping: true and parsed without operator filtering. Attackers can inject MongoDB operators through query parameters to bypass per-user access controls, read arbitrary documents, execute JavaScript via $where operators, or modify collections through update and delete operations.

Executive ViewAI

Why It Matters

Budibase versions prior to 3.40.0 contain a critical database access control bypass in the MongoDB integration that allows basic users to read, modify, or delete protected data without authorization. This exposes any organization using Budibase's MongoDB datasource to data breach, compliance violations, and operational disruption. Immediate action to restrict access or upgrade is essential to prevent unauthorized database activity.

Business Impact: High
Compensating Controls

Restrict MongoDB datasource access to trusted database administrators only; disable this integration for non-critical applications until an official patch is available; implement regular review of database audit logs for suspicious data access patterns; prepare expedited upgrade procedures and testing plans for rapid deployment once Budibase 3.40.0 is released.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Medium
popular open-source low-code platform, not ubiquitous enterprise infrastructure
Data Quality
6 sources
Confidence: High

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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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

CVE-2026-27702 CRITICAL POC
9.9 Feb 25

Unauthorized data access in Budibase low-code platform before 3.30.4 allows unauthenticated users to manipulate internal

CVE-2026-73300 CRITICAL POC
9.6 Aug 12

SQL injection in Budibase's MySQL integration (all versions prior to 3.40.0) lets attackers execute arbitrary, stacked S

CVE-2026-31816 CRITICAL POC
9.1 Mar 09

Authorization bypass in Budibase 3.31.4 and earlier. The authorized() middleware can be bypassed, enabling injection att

CVE-2026-25040 HIGH POC
8.8 Jan 29

Budibase is a low code platform for creating internal tools, workflows, and admin panels. [CVSS 8.8 HIGH]

CVE-2026-73406 HIGH POC
7.5 Aug 12

Unauthenticated user enumeration and metadata disclosure in Budibase prior to 3.39.32 exposes tenant identifiers, email

CVE-2026-31818 CRITICAL
9.9 Apr 03

Server-Side Request Forgery (SSRF) in Budibase's REST datasource connector (versions prior to 3.33.4) allows authenticat

CVE-2026-73308 MEDIUM POC
5.7 Aug 12

OAuth2 access and refresh token theft in Budibase's automation testing pipeline exposes SSO-authenticated builder creden

CVE-2022-3225 MEDIUM POC
5.7 Sep 16

Improper Control of Dynamically-Managed Code Resources in GitHub repository budibase/budibase prior to 1.3.20. Rated med

CVE-2026-30240 CRITICAL
9.6 Mar 09

Path traversal in Budibase low-code platform 3.31.5 and earlier allows attackers to read arbitrary files through the app

CVE-2026-82244 CRITICAL
9.4 Aug 28

Remote code execution in Budibase self-hosted server before 3.41.3 lets authenticated administrators run arbitrary JavaS

CVE-2026-73306 MEDIUM POC
5.3 Aug 12

Account enumeration and targeted denial-of-service in Budibase prior to 3.39.25 stem from an observable response discrep

CVE-2026-100684 CRITICAL
9.2 Sep 26

Unauthenticated account takeover of pending invited users in Budibase Server (@budibase/server) versions 3.41.0 through

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