Description
Budibase (@budibase/server) before 3.45.0 builds MySQL and MSSQL column-rename DDL in packages/backend-core/src/sql/sqlTable.ts by interpolating identifiers directly into a raw query string (backtick-quoted for MySQL, a single-quoted sp_rename literal for MSSQL) without applying the project's quoteMySqlIdentifier / quoteSqlServerIdentifier helpers. An attacker with DDL rights on a connected MySQL/MSSQL datasource can create a column whose name contains a backtick (MySQL) or single quote (MSSQL) plus additional SQL; Budibase's schema introspection stores the name verbatim, and when a Budibase builder later renames that column through the UI (POST /api/tables with _rename.old), the embedded quote character terminates the identifier and the injected SQL is executed. Because the MySQL connection is opened with multipleStatements: true, stacked statements run as Budibase's datasource user, allowing arbitrary reads, writes, or destructive operations on the connected database outside Budibase's row/table permission model. Fixed in 3.45.0.
Published: 2026-09-26
Score: 8.9 High
EPSS: < 1% Very Low
KEV: No
Impact: SQL Injection
Action: Immediate Patch
AI Analysis

Impact

The vulnerability is an SQL injection flaw introduced in Budibase ([budibase/server] before 3.45.0) where column rename DDL statements are assembled by directly interpolating identifier names into raw SQL strings without proper quoting. This flaw allows a user who holds DDL permissions on the connected MySQL or Microsoft SQL Server data source to craft a column name containing a backtick or single quote that terminates the identifier and injects arbitrary SQL. When that column is later renamed via the Budibase UI, the injected SQL is executed as the data‑source user, enabling unauthorized reads, writes, or destructive operations on the database beyond the application’s own permission model. The weakness is a classic SQL injection (CWE‑89).

Affected Systems

Budibase Server versions earlier than 3.45.0 are affected. The problem exists in the backend core module responsible for database schema introspection and column renaming, and specifically impacts deployments that use MySQL or Microsoft SQL Server as the data source.

Risk and Exploitability

The CVSS score of 8.9 classifies the flaw as high severity, and although its EPSS score is not publicly available, the fact that it is not listed in the CISA KEV catalog indicates it is not a known widespread exploitation. The attack requires a user with DDL rights to create a column with a malicious name; the injected SQL is then executed when the column is renamed through the UI. Because the database connection is established with multipleStatements enabled, all stacked statements run as the data‑source user, magnifying the impact. Thus the exploitation likelihood is limited to environments where such privileged database users exist, but the potential damage to the underlying database is significant.

Generated by OpenCVE AI on September 26, 2026 at 16:17 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Budibase to version 3.45.0 or later, which includes the fixed column rename logic.
  • Reconfigure Budibase’s database connections to disable the multipleStatements option so that stacked statements cannot be executed.
  • Limit DDL privileges (CREATE, ALTER) in the connected database to trusted administrators and audit schema changes for unexpected columns or renames.

Generated by OpenCVE AI on September 26, 2026 at 16:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 28 Sep 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Sat, 26 Sep 2026 18:00:00 +0000

Type Values Removed Values Added
First Time appeared Budibase
Budibase server
Vendors & Products Budibase
Budibase server

Sat, 26 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
Description Budibase (@budibase/server) before 3.45.0 builds MySQL and MSSQL column-rename DDL in packages/backend-core/src/sql/sqlTable.ts by interpolating identifiers directly into a raw query string (backtick-quoted for MySQL, a single-quoted sp_rename literal for MSSQL) without applying the project's quoteMySqlIdentifier / quoteSqlServerIdentifier helpers. An attacker with DDL rights on a connected MySQL/MSSQL datasource can create a column whose name contains a backtick (MySQL) or single quote (MSSQL) plus additional SQL; Budibase's schema introspection stores the name verbatim, and when a Budibase builder later renames that column through the UI (POST /api/tables with _rename.old), the embedded quote character terminates the identifier and the injected SQL is executed. Because the MySQL connection is opened with multipleStatements: true, stacked statements run as Budibase's datasource user, allowing arbitrary reads, writes, or destructive operations on the connected database outside Budibase's row/table permission model. Fixed in 3.45.0.
Title Budibase before 3.45.0 SQL Injection via column-rename DDL
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.9, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-08T15:21:55.694Z

Reserved: 2026-09-26T02:36:51.810Z

Link: CVE-2026-100683

cve-icon Vulnrichment

Updated: 2026-09-28T17:56:06.874Z

cve-icon NVD

Status : Deferred

Published: 2026-09-26T14:16:52.567

Modified: 2026-10-08T16:16:58.700

Link: CVE-2026-100683

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-26T17:45:06Z

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')