All vulnerabilities

Servers and applications

CVE-2026-100683

Second-order SQL identifier injection in MySQL/MSSQL column-rename DDL (sqlTable.ts) bypassing quote helpers

Severity
High 8.0
Published
10 Sept 2026
Last changed
28 Sept 2026
Added to UpHeron
3 Nov 2026
Fixed in
3.45.0
Exploit chance
0.3% in the next 30 daysHigher than 18% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
SQL injection (CWE-89)
Attack
Over the network · Only under certain conditions · Needs a user account · Needs someone to click or open something
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
Also known as
GHSA-ppj8-hmx2-m546
Sources
Project advisories (GitHub)

Description

Budibase's shared SQL query builder constructs the MySQL/MSSQL column-rename DDL as a raw string with bindings: [], interpolating identifiers directly inside backticks (MySQL) / single-quoted sp_rename literals (MSSQL) without applying the repo's own quoteMySqlIdentifier/quoteSqlServerIdentifier helpers. A single backtick (MySQL) or single quote (MSSQL) in an interpolated identifier closes the identifier; with multipleStatements: true live on the MySQL connection, an injected ; runs a stacked statement as Budibase's datasource user. This is a distinct, unpatched sink from the three previously-fixed identifier-injection advisories (GHSA-2xgg DESCRIBE, GHSA-qqf5 search_path/INFORMATION_SCHEMA, GHSA-xj29 Oracle ROWID) and mirrors the accepted second-order model of GHSA-2xgg / GHSA-xj29.

packages/backend-core/src/sql/sqlTable.ts:

  • Line 278 (MySQL): alter table ${tableName} rename column ${json.meta.renamed.old} to ... — raw interpolation, bindings: [].
From Budibase/budibase's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
BudibaseServers and applications · github:budibase/budibase
  • Every version before 3.45.0

About Budibase

low-code development platform

From Wikidata, CC0 1.0.
Docker Hub pulls
2,327,272Docker Hub, 15 Nov 2026
GitHub stars
28,419GitHub, 15 Nov 2026
Forks
2,238GitHub, 15 Nov 2026
Latest release
v4.0.0GitHub, 15 Nov 2026
Released
10 Nov 2026GitHub
First published on GitHub
7 Jun 2019GitHub

References