Skip to content
Threat Feed
high advisory

NoSQL Injection Vulnerability in Budibase MongoDB Integration

Budibase versions prior to 3.40.0 are vulnerable to NoSQL injection in the MongoDB datasource due to improper handling of user-supplied parameters, allowing unauthorized data access and potential server-side execution.

CVE search metadata

CVE search record: CVE-2026-73617. Severity: high. CVSS: 7.1. EPSS: 0.20%. KEV: no. Product: Budibase, Budibase (before 3.40.0), Budibase (3.39.4 to 3.39.x). Brief: NoSQL Injection Vulnerability in Budibase MongoDB Integration. Brief link: https://feed.craftedsignal.io/briefs/2026-08-budibase-nosql-injection/

CVE search record: CVE-2026-72855. Severity: high. CVSS: 8.5. EPSS: 0.27%. KEV: no. Product: Budibase, Budibase (before 3.40.0), Budibase (3.39.4 to 3.39.x). Brief: NoSQL Injection Vulnerability in Budibase MongoDB Integration. Brief link: https://feed.craftedsignal.io/briefs/2026-08-budibase-nosql-injection/

CVE search record: CVE-2026-72856. Severity: high. CVSS: 8.1. EPSS: 0.33%. KEV: no. Product: Budibase, Budibase (before 3.40.0), Budibase (3.39.4 to 3.39.x). Brief: NoSQL Injection Vulnerability in Budibase MongoDB Integration. Brief link: https://feed.craftedsignal.io/briefs/2026-08-budibase-nosql-injection/

CVE search record: CVE-2026-72857. Severity: high. CVSS: 7.7. EPSS: 0.26%. KEV: no. Product: Budibase, Budibase (before 3.40.0), Budibase (3.39.4 to 3.39.x). Brief: NoSQL Injection Vulnerability in Budibase MongoDB Integration. Brief link: https://feed.craftedsignal.io/briefs/2026-08-budibase-nosql-injection/

CVE search record: CVE-2026-72859. Severity: high. CVSS: 7.7. EPSS: 0.18%. KEV: no. Product: Budibase, Budibase (before 3.40.0), Budibase (3.39.4 to 3.39.x). Brief: NoSQL Injection Vulnerability in Budibase MongoDB Integration. Brief link: https://feed.craftedsignal.io/briefs/2026-08-budibase-nosql-injection/

What's new

  • 1. added CVE-2026-72859 Aug 18, 08:50 via bsi
  • 2. added detection rule: Detect Potential Exploitation of CVE-2026-72859 Aug 14, 14:12 via nvd
  • 3. added CVE-2026-72855 +2 Aug 14, 14:06 via bsi
  • 4. added coverage for budibase Aug 14, 00:06 via nvd
  • 5. added coverage for Budibase Aug 14, 00:06 via nvd

Budibase versions prior to 3.40.0 contain a critical NoSQL injection vulnerability within the MongoDB datasource integration. The vulnerability stems from the application's processing of user-supplied parameters using Handlebars with the 'noEscaping: true' setting enabled, combined with a lack of robust operator filtering.

This flaw allows an attacker to inject MongoDB-specific operators directly into query parameters. Because the input is not sanitized or restricted, an attacker can manipulate database queries to bypass existing row-level or per-user access controls. The impact is severe, enabling unauthorized read access to arbitrary documents, potential modification or deletion of collection data, and the execution of server-side JavaScript through operators such as '$where'. This vulnerability is particularly dangerous in environments where the Budibase backend connects to MongoDB databases containing sensitive business logic or user data.

Impact

Successful exploitation allows attackers to bypass application-level access controls, leading to unauthorized data exfiltration or modification. In instances where the MongoDB instance allows the '$where' operator, attackers could escalate the impact to arbitrary code execution on the database server. This impacts all organizations using Budibase 3.39.x and earlier versions that integrate with MongoDB.

Recommendation

  • Upgrade Budibase instances to version 3.40.0 or later immediately to patch CVE-2026-73617.
  • Audit logs for suspicious MongoDB queries involving unconventional operators (e.g., $where, $gt, $ne, $regex) originating from the Budibase application server.
  • Implement strict input validation and query parameterization for any user-facing inputs bound to MongoDB datasource queries.
  • Apply the principle of least privilege to the service account credentials used by Budibase to connect to MongoDB, restricting permissions to only those necessary for required operations.

Immediate actions

Upgrade Budibase to version 3.40.0 or later

IT Operations 24h

Mitigations

Review MongoDB service account permissions used by Budibase

immediate IT Operations

CVE-2026-73617

Detection coverage 1

Detect Potential Exploitation of CVE-2026-72859

high

Detects unauthorized attempts to access the S3 attachment upload endpoint by users with low privileges, as characterized by POST requests to the attachment route.

sigma tactics: initial_access techniques: T1190 sources: webserver

Detection queries are available on the platform. Get full rules →