Skip to main content

Budibase Server CVE-2026-73618

| EUVDEUVD-2026-57822 HIGH
Improper Neutralization of Special Elements in Data Query Logic (CWE-943)
2026-08-13 VulnCheck GHSA-wg7g-xr7v-hf69
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Recon
    Authenticate as BUILDER-role user
  2. Delivery
    Identify parameterized MongoDB query
  3. Exploit
    Craft parameter value with JSON metacharacters
  4. Install
    POST to /api/v2/queries/:queryId
  5. C2
    Bypass enrichContext() interpolation filter
  6. Execute
    Altered query executes against MongoDB
  7. Impact
    Read, modify, or delete arbitrary documents

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 an authenticated session with Budibase BUILDER role (query write permission) - PR:L in the CVSS 4.0 vector confirms a low-privilege authenticated user is required, not an unauthenticated attacker. The vulnerable endpoint is POST /api/v2/queries/:queryId and is only reachable when a MongoDB datasource is configured with saved parameterized queries. The specific limiting conditions are: (1) the attacker must hold or have compromised a BUILDER-level Budibase account; (2) a MongoDB-backed query with at least one user-controlled parameter must exist in the workspace. Exploitation is constrained entirely to the MongoDB database(s) connected to Budibase - it does not provide OS-level access or affect other datasource types. Anonymous or read-only (APP_USER) roles cannot trigger this endpoint.

Impact

The CVSS 4.0 score of 8.7 (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L) accurately reflects the risk profile: network-exploitable, low complexity, no user interaction, but gated by a low-privilege authentication requirement (BUILDER/query-write role). This PR:L gate is the single most important limiting factor - exploitation is not possible for anonymous users against a default deployment. EPSS data is not provided in the source intelligence, so probabilistic exploitation likelihood cannot be quantified here; however, the NoSQL injection pattern is well-understood and straightforward to execute once the prerequisite role is held, meaning internal threats or compromised BUILDER accounts represent a realistic path. The vulnerability is not in CISA KEV and no public proof-of-concept exploit has been identified, which moderates urgency relative to the high CVSS score. That said, organizations running Budibase with multiple users holding query write permissions - even a mid-sized internal deployment - should treat this as a priority patch given the direct data-manipulation impact on MongoDB collections. The availability impact is rated Low in the CVSS 4.0 vector, which is consistent: deleteMany can destroy data but does not directly affect service uptime.

Exploit ScenarioDerived

An attacker who holds a Budibase BUILDER account - or has compromised one - crafts a POST request to /api/v2/queries/:queryId for a saved MongoDB query that uses a parameter such as username. By supplying the value ", "$ne": " as the parameter, the interpolated JSON becomes {"username": "", "$ne": ""}, causing MongoDB to return all documents where username is not empty rather than matching a specific user, effectively bypassing the query's intended filter. The same technique can be adapted to delete arbitrary documents using a deleteMany-backed query. No public proof-of-concept exploit has been identified at time of analysis, but the injection pattern is elementary for anyone familiar with NoSQL injection fundamentals.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% 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 Server's MongoDB query execution endpoint (POST /api/v2/queries/:queryId) allows authenticated users with query write permission to bypass document-level filters and read, modify, or delete arbitrary MongoDB documents. The flaw stems from Handlebars interpolation being performed with escaping explicitly disabled (noEscaping: true), meaning JSON metacharacters in user-supplied parameters survive into the parsed query object that flows directly to MongoDB driver calls. No public exploit code has been identified at time of analysis, and the vulnerability is not listed in CISA KEV; however, a patch commit and PR are publicly available on GitHub.

RemediationAI

Upgrade @budibase/server to version 3.40.0 or later as described in GHSA-qw6m-8fw2-2v64 (https://github.com/Budibase/budibase/security/advisories/GHSA-qw6m-8fw2-2v64). Note that the patch PR (#18907, commit 2d6c1d17cff8a653adbb2f9003eda9de38c7670f) is publicly available on GitHub but a formally released patched version was listed as 'None' in the package metadata at time of analysis - the fix version of 3.40.0 comes from the CVE description and GHSA, and should be independently verified against the official npm registry before upgrading in production. If immediate patching is not feasible, restrict the BUILDER role to fully trusted internal users only, since exploitation requires query write permission; removing this role from external or semi-trusted users eliminates the attack surface without impacting read-only consumers. Additionally, consider placing a WAF rule or reverse proxy filter on POST /api/v2/queries/:queryId to reject requests containing JSON metacharacters (double-quote, curly braces) in parameter values, though this may cause false positives for legitimate queries containing string data with those characters.

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

Budibase (CPE: cpe:2.3:a:budibase:server:*:*:*:*:*:*:*:*) is an open-source low-code platform. Its server exposes a MongoDB query execution endpoint that uses Handlebars templating to interpolate user-supplied parameters into saved JSON query templates. The root cause (CWE-943: Improper Neutralization of Special Elements in Data Query Logic) arises from a misaligned validation-interpolation pipeline: validateQueryInputs() only blocks Handlebars binding syntax ({{ }}) while leaving JSON structural characters (double-quote, braces) unsanitized. Interpolation then runs with noEscaping: true, so injected characters survive into the string that is parsed by JSON.parse() and passed verbatim to MongoDB driver methods such as collection.find(), collection.deleteMany(), etc. Classic $ne-style operator injection is the primary exploit primitive exposed by this architecture.

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 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
vuln.today AI 8.3 HIGH

Network-accessible endpoint, low complexity; PR:L because BUILDER role is required; no scope change; availability is Low since deleteMany can destroy data but not halt the service.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/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
High
Vulnerable system: Availability
Low
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 8.7

DescriptionCVE.org

Budibase Server before 3.40.0 contains a NoSQL injection vulnerability in the MongoDB query execution endpoint where user-supplied parameters are interpolated into JSON query templates without proper sanitization of JSON metacharacters. Attackers with query write permission can inject JSON structural characters to alter MongoDB queries, bypassing filters to read, modify, or delete arbitrary documents.

Executive ViewAI

Why It Matters

Budibase Server contains a NoSQL injection vulnerability in its MongoDB query endpoint that allows authenticated users with query-write permissions to bypass data access controls and read, modify, or delete arbitrary database records. This threatens data confidentiality and integrity for organizations using Budibase to manage sensitive information, particularly those with multi-user deployments.

Business Impact: High
Compensating Controls

Restrict query-write permissions to only essential administrators; implement MongoDB document-level access controls and enable comprehensive audit logging; require multi-factor authentication for all Budibase administrative accounts; segment Budibase instances from other production systems; establish a ticketed approval process for query-write access requests; monitor audit logs for unauthorized data access attempts; remediation code is available in the Budibase GitHub repository for organizations that can build and test from source.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Medium
open-source low-code platform, growing but not ubiquitous enterprise adoption
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.3%
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
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
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