boxscore/security
CVE · referencelatest edition

Reference page — cumulative record through Wednesday, August 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.

CVE-2026-54350CRITICAL
Budibase: Anonymous NoSQL operator injection via published-app query templates
  AV  AC  PR  UI  S  C  I  A   CVSS    EPSS   %ile   KEV
   N   L   N   N  U  H  H  H    9.8   .0047   38.9     —
AFFECTED
  Product   Versions     Fixed
  budibase  < 3.39.12 –  —
TIMELINE
  Jun 12  Reserved by GitHub_M
  Jun 26  EXPLOIT PUBLISHED — CVE-2026-54350 (budibase). Public exploit reference added.
  Jun 26  Published (CNA: GitHub_M)
CWE-89, CWE-943 · CNA: GitHub_M · CVSS v3.1 · 1 reference · NVD status: Modified

Description

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.

Lifecycle

Complete event history — 3 events, chronological
DateEventDetail
June 12, 2026ReservedReserved by GitHub_M
June 26, 2026EXPLOIT PUBLISHEDEXPLOIT PUBLISHED — CVE-2026-54350 (budibase). Public exploit reference added.
June 26, 2026PublishedPublished (CNA: GitHub_M)

Affected

Affected products and packages — 1 row
VendorProduct / PackageEcosystemVersion introducedFixed
Budibasebudibase< 3.39.12

Weaknesses

CWE-89 · CWE-943

References (1)

Related

Authoritative record: CVE-2026-54350 at cve.org

Vendors: budibase

Weaknesses: CWE-89 · CWE-943

About this page

This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2026-54350 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Wednesday, August 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.