---
title: "CVE-2026-54350: Budibase has nonymous NoSQL operator injection via published-app query templates"
url: https://erroneo.us/security/cve/CVE-2026-54350/
description: "CVE-2026-54350 (@budibase/server (npm)): Budibase is an open-source low-code platform. Prior to 3.39.12, an unauthenticated visitor of any published…"
type: vulnerability-record
section: "Security Digest"
date_published: 2026-06-26
date_modified: 2026-08-12
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2026-54350"
kev: false
cvss: 10
epss: 0.00538
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2026-54350: Budibase has nonymous NoSQL operator injection via published-app query templates

**Signal:** Critical and remotely reachable. No known exploitation yet, but it is network-reachable without credentials. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 0.5% , percentile 44: FIRST’s model estimates a 0.5% chance of exploitation activity in the next 30 days, higher than 44% of all scored CVEs (low). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes @budibase/server (npm) < 3.39.12, fixed in 3.39.12 . Check your lockfile, including transitive dependencies.

## What it is

Budibase is an open-source low-code platform. Prior to 3.39.12, an unauthenticated visitor of any published Budibase app reads every document of the backing MongoDB, CouchDB, Elasticsearch, DynamoDB-PartiQL, or REST-with-JSON-body collection and, where the builder has published a PUBLIC write query, modifies every document of that collection with one HTTP request. enrichContext at packages/server/src/sdk/workspace/queries/queries.ts:121-138 substitutes parameter values into the raw JSON body of a query, then JSON.parses the result. The validator validateQueryInputs at packages/server/src/api/controllers/query/index.ts:61-71 rejects only Handlebars markers ({{, }}) in user input and does not escape JSON metacharacters (", \, }). A parameter value containing a closing quote and additional keys lifts attacker-controlled fields into the parsed filter object. For Mongo find, the parsed filter passes directly to collection.find() (packages/server/src/integrations/mongodb.ts:506-510). Duplicate-key JSON parsing overrides the builder's {name: "..."} with {name: {$exists: true}} and returns every document. The same primitive against an updateMany query (mongodb.ts:577-585) widens the filter scope to the full collection while the builder-controlled $set body runs against every matched document. The authorized middleware at packages/server/src/middleware/authorized.ts:141-148 short-circuits when the query's role is PUBLIC. CSRF is not enforced on this path. POST /api/v2/queries/:queryId (packages/server/src/api/routes/query.ts:63) accepts the call with no session, only an x-budibase-app-id header that is public from the published-app URL. This vulnerability is fixed in 3.39.12.

## Affected packages

- npm `@budibase/server` < 3.39.12 → fixed: 3.39.12

## Affected products (CVE record)

- Budibase budibase: < 3.39.12

## Severity

- GitHub_M CVSS 3.1: 10 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N`
- GitHub CVSS 3.1: 10.0 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact partial .
- FIRST EPSS (model of 2026-10-21): 0.54% probability of exploitation activity in the next 30 days; percentile 44.

## Sources

- [GitHub Advisory GHSA-8qv3-p479-cj62](https://github.com/advisories/GHSA-8qv3-p479-cj62)
- [CVE.org record CVE-2026-54350](https://www.cve.org/CVERecord?id=CVE-2026-54350)
- [NVD entry CVE-2026-54350](https://nvd.nist.gov/vuln/detail/CVE-2026-54350)
- [github.com](https://github.com/Budibase/budibase/security/advisories/GHSA-8qv3-p479-cj62)

---
Source page: https://erroneo.us/security/cve/CVE-2026-54350/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
