Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2026-54350
budibase

Score9.8 Critical
CVSS 3.1
Exploit probability (EPSS)0.54%
within the next 30 days
CategorySQL & query injection
Published26 June 2026
Last modified: 30 June 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, without any user interaction.

A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.

Weakness type: SQL injection.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official 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.

CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weakness: CWE-89 – SQL injection, CWE-943

Affected products

VendorProductVersions
budibasebudibase<3.39.12

Sources

Latest in the same category

  • CVE-2026-137097 Not scored
    Net::WoRMS versions before 1.901 for Perl allow SQL injection via SOAP response fields in the SQL output of printRecord. Net::WoRMS is a tool for querying the World Register of Marine Species (WoRMS). The SQL output…
    SQL & query injection · 30 November 2026
  • CVE-2026-139990 High 8.7
    GLPI 11.0.0 before 11.0.9 contains an unauthenticated sql injection vulnerability in the planning availability check via the begin and end parameters. Attackers can send genical and checkavailability parameters to…
    SQL & query injection · 30 November 2026
  • CVE-2023-54424 High 8.7
    JIESHUN JieLink+ Intelligent Terminal Operation Platform contains a SQL injection vulnerability that allows unauthenticated attackers to execute arbitrary SQL queries through the deviceId parameter of the…
    SQL & query injection · 30 November 2026
  • CVE-2026-120705 High 8.6KEV
    GeoServer is an open source server that allows users to share and edit geospatial data. Prior to "org.geoserver:gs-wfs-core" versions 2.27.7, 2.28.6, and 3.0.2 and prior to "org.geotools:gt-metadata" versions 33.7,…
    osgeo geoserver · SQL & query injection · 30 November 2026
  • CVE-2026-139882 High 7.1
    OS4ED openSIS Classic through 9.3 contains an sql injection vulnerability in api/StudentEnrollmentInfo.php and api/StaffInfo.php via the unquoted sch_year parameter. Attackers holding any valid API key and secret can…
    SQL & query injection · 30 November 2026
  • CVE-2026-139877 Critical 9.1
    mysql2 before 3.25.0 contains an sql injection vulnerability in Connection.format() and Connection.escape() because quotes are always backslash-escaped regardless of session SQL mode. When NO_BACKSLASH_ESCAPES is…
    SQL & query injection · 30 November 2026