High

Budibase: MySQL DESCRIBE Backtick Injection via multipleStatements in Database Connector

  • Disclosed: 24.07.2026
  • Updated: 11.10.2026 10:22

Summary

This is a related but independently fixable vulnerability to GHSA-qqf5-x7mj-v43p (PostgreSQL SQL injection), reported in the same original disclosure and split per GitHub CNA guidance (rule 4.2.11) since it affects a separate integration, has a distinct attack precondition, and requires a separate patch.

The MySQL integration enables multipleStatements: true on the connection, permitting semicolon-separated multi-statement execution. During table introspection, table names retrieved from INFORMATION_SCHEMA.TABLES are interpolated into a DESCRIBE query wrapped in backticks, but embedded backticks in the table name are never escaped — allowing a malicious table name to break out and inject a second, attacker-controlled statement.

Details

Vulnerable Code: File: packages/server/src/integrations/mysql.ts, lines 172, 305

ts
this.config = { ...config, multipleStatements: true, ... }  // line 172
...
{ sql: `DESCRIBE \`${tableName}\`;` }  // line 305 — backtick NOT escaped

Because multipleStatements is enabled, any statement appended after the backtick break-out executes as a second query in the same round trip.

Step-by-Step Reproduction

  1. An attacker with the ability to create tables in the target MySQL database (e.g. a lower-privileged database user, or a malicious actor in a multi-tenant database) creates a table named: foo`; DROP TABLE users; --
  2. In Budibase, an administrator triggers schema introspection for that database (e.g. opening the datasource or refreshing its table list).
  3. Budibase reads the malicious table name from INFORMATION_SCHEMA.TABLES and interpolates it into the DESCRIBE query.
  4. The unescaped backtick terminates the identifier early, and the semicolon-separated payload (enabled by multipleStatements: true) executes as a second statement.

Impact

Arbitrary SQL execution triggered during routine schema discovery. Unlike the PostgreSQL and MS SQL Server findings, this does not require the attacker to control the Budibase datasource configuration directly — only the ability to create a maliciously named table in the underlying database beforehand, with an administrator's normal use of the introspection feature serving as the trigger.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
npm package @budibase/server <= 3.38.1 no fix

References

CVSS score 7.6/10
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H
Weakness (CWE)
CWE-89
Platform
npm
Package
@budibase/server
Disclosed
24.07.2026
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-2xgg-r2wc-c5r2 - CC BY 4.0

Vulnerability history: @budibase/server

All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (42) in the archive
Total entries
42
First → latest
03.2024 08.2026
Without a fix
19
Exploited in attacks
0

Severity breakdown

  • Critical 8
  • High 27
  • Medium 7

Disclosures per year

  1. 2024: 1
  2. 2025: 0
  3. 2026: 41
Severity:
  1. High · 8.5 CVE-2026-73410 <= 3.38.1 no fix
  2. Budibase: MySQL DESCRIBE Backtick Injection via multipleStatements in Database Connector this entry
    High · 7.6 CVE-2026-73408 <= 3.38.1 no fix
  3. Critical · 9.6 CVE-2026-73300 <= 3.38.1 no fix
  4. High · 8.8 CVE-2026-25044 < 3.33.4 3.33.4
  5. Critical · 9.8 ghsa-4g2x-vq5p-5vj6 < 2.20.0 2.20.0

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.