# CVE-2026-73618: Budibase NoSQL injection in MongoDB query execution

Source: https://junglewise.ai/threats/cve-2026-73618-budibase-nosql-injection-in-mongodb-query-execution  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-13. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-73618 · Severity: high · CVSS 8.3 · Published 2026-08-13

Budibase is a low-code application platform that allows users to build business apps with database queries. A vulnerability in the MongoDB query execution endpoint allows authenticated app users to inject malicious NoSQL operators into query parameters, bypassing security filters to read all database records, modify them in bulk, or delete entire collections. Any regular application user with query execution permissions can exploit this to access or destroy sensitive data.

Technologies: [@budibase/server (npm)](https://junglewise.ai/threats/technologies/budibase-server). Vendors: [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2026-73618 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-73618 being exploited in the wild.

**How severe is CVE-2026-73618?** High severity, with a CVSS score of 8.3, published 13 August 2026.

**Which products and versions are affected?** @budibase/server (npm) SEMVER:introduced=0,last_affected=3.38.1.

**Is there a fix for CVE-2026-73618?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-73618 attacked?** It is attacked over the network.

**Am I affected by CVE-2026-73618?** Check whether you run @budibase/server (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The vulnerability is a NoSQL injection in the POST /api/v2/queries/:queryId endpoint. The enrichContext() function interpolates user-supplied query parameters into JSON query templates using Handlebars with escaping disabled (noEscaping: true), then passes the result to JSON.parse(). While validateQueryInputs() blocks Handlebars template syntax ({{}}), it does not sanitize JSON structural characters such as quotes, braces, and colons. An attacker can inject these characters to alter query structure; for example, providing a parameter value of `", "$ne": "` transforms a filter from {"username": "alice"} to {"username": "", "$ne": ""}, which matches all non-empty documents instead of a single user. The attack requires only QUERY WRITE permission (a standard app-level permission available to regular users), not builder or admin access. Patches are available in version 3.40.0 and later.

## Affected products

- Budibase Budibase <3.40.0

## Identifiers

- CVE-2026-73618
- GHSA-qw6m-8fw2-2v64

## Timeline

- 2026-07-24: disclosed

## References

- [https://github.com/Budibase/budibase/security/advisories/GHSA-qw6m-8fw2-2v64](https://github.com/Budibase/budibase/security/advisories/GHSA-qw6m-8fw2-2v64)
- [https://github.com/Budibase/budibase/pull/18907](https://github.com/Budibase/budibase/pull/18907)

## Related threats

- [Budibase S3 signed upload URL issuance via attachments endpoint](https://junglewise.ai/threats/cve-2026-54356-budibase-s3-signed-upload-url-issuance-via-attachments-endpoint)
- [Budibase automation SSRF in webhook and integration steps](https://junglewise.ai/threats/cve-2026-35219-budibase-automation-ssrf-in-webhook-and-integration-steps)
- [Budibase S3 presigned URL authorization regression](https://junglewise.ai/threats/cve-2026-72859-budibase-s3-presigned-url-authorization-regression)
- [Budibase MySQL DESCRIBE backtick injection via multipleStatements](https://junglewise.ai/threats/cve-2026-73408-budibase-mysql-describe-backtick-injection-via-multiplestatements)
- [Budibase privilege escalation in public role assignment API](https://junglewise.ai/threats/cve-2026-73305-budibase-privilege-escalation-in-public-role-assignment-api)
