Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-100683 Overview
CVE-2026-100683 is a SQL injection vulnerability in Budibase (@budibase/server) affecting versions before 3.45.0 [CWE-89]. The flaw resides in packages/backend-core/src/sql/sqlTable.ts, where MySQL and MSSQL column-rename DDL statements interpolate identifiers directly into raw query strings. The code fails to apply the project's quoteMySqlIdentifier and quoteSqlServerIdentifier helpers. An attacker with DDL rights on a connected MySQL or MSSQL datasource can inject SQL through specially crafted column names. Budibase released a fix in version 3.45.0.
Critical Impact
Because MySQL connections open with multipleStatements: true, stacked statements execute as the Budibase datasource user. This enables arbitrary reads, writes, or destructive operations outside Budibase's permission model.
Affected Products
- Budibase (@budibase/server) versions prior to 3.45.0
- Deployments connected to MySQL datasources where attackers hold DDL rights
- Deployments connected to Microsoft SQL Server (MSSQL) datasources where attackers hold DDL rights
Discovery Timeline
- 2026-09-26 - CVE-2026-100683 published to NVD
- 2026-09-28 - Last updated in NVD database
Technical Details for CVE-2026-100683
Vulnerability Analysis
The vulnerability stems from unsafe identifier interpolation in Budibase's schema management code. In packages/backend-core/src/sql/sqlTable.ts, column-rename DDL is constructed by embedding identifier names directly into raw query strings. MySQL identifiers are wrapped in backticks, while MSSQL uses a single-quoted sp_rename literal. Neither path invokes the project's dedicated quoting helpers that would escape embedded quote characters.
Budibase's schema introspection reads existing column names verbatim from the connected database. When a builder user later renames a column through the Budibase UI via POST /api/tables with the _rename.old parameter, the stored name is concatenated into the DDL template. Any embedded backtick or single quote terminates the identifier context, and trailing text is executed as SQL.
Root Cause
The root cause is missing identifier sanitization in a code path that assumes database-sourced names are trustworthy. The helpers quoteMySqlIdentifier and quoteSqlServerIdentifier exist in the codebase but were not applied to the rename DDL builder. This creates a second-order SQL injection where the payload is planted via DDL and triggered later through a legitimate administrative action.
Attack Vector
An attacker needs DDL privileges on a MySQL or MSSQL database that Budibase has been configured to use as a datasource. The attacker creates a column whose name contains a backtick (for MySQL) or a single quote (for MSSQL) followed by additional SQL statements. When a Budibase builder subsequently renames that column through the UI, the injected statements execute under the datasource connection user.
For MySQL, the connection flag multipleStatements: true permits stacked queries, allowing full SQL execution rather than a single-statement injection. The attacker gains the full privileges of the Budibase datasource account, bypassing Budibase's row-level and table-level permission model. See the GitHub Security Advisory GHSA-ppj8-hmx2-m546 and the VulnCheck SQL Injection Advisory for additional detail.
Detection Methods for CVE-2026-100683
Indicators of Compromise
- Column names in connected MySQL or MSSQL schemas containing backtick (`) or single-quote (') characters followed by SQL keywords such as DROP, UPDATE, INSERT, or SELECT.
- Unexpected DDL or DML operations in database audit logs attributed to the Budibase datasource user shortly after a column rename event in Budibase.
- Entries in Budibase application logs showing POST /api/tables requests with _rename.old values that reference anomalous column names.
Detection Strategies
- Query information_schema.columns on connected MySQL and MSSQL instances to enumerate column names containing quote characters or SQL metacharacters.
- Correlate Budibase builder activity logs with database query logs to identify rename operations that produced multi-statement queries.
- Enable and monitor MySQL general query logs or MSSQL extended events for queries originating from the Budibase connection pool.
Monitoring Recommendations
- Alert on any DDL activity by the Budibase datasource user outside expected maintenance windows.
- Track changes to the @budibase/server package version across deployments to confirm all instances run 3.45.0 or later.
- Review database user privilege assignments and flag any Budibase connection account with privileges beyond required table operations.
How to Mitigate CVE-2026-100683
Immediate Actions Required
- Upgrade @budibase/server to version 3.45.0 or later across all Budibase deployments.
- Audit connected MySQL and MSSQL databases for columns with names containing backticks, single quotes, or SQL keywords, and rename or drop them through direct database access.
- Restrict the privileges of the database account Budibase uses for datasource connections to the minimum required for application function.
Patch Information
Budibase addressed the issue in @budibase/server 3.45.0 by applying the quoteMySqlIdentifier and quoteSqlServerIdentifier helpers to the column-rename DDL path in packages/backend-core/src/sql/sqlTable.ts. The patched helpers correctly escape embedded quote characters before interpolation. Refer to the GitHub Security Advisory GHSA-ppj8-hmx2-m546 for the full fix commit.
Workarounds
- Revoke DDL privileges (CREATE, ALTER) from the Budibase datasource user on MySQL and MSSQL connections until the upgrade can be applied.
- Disable the multipleStatements flag on the MySQL driver configuration if a custom build allows it, to prevent stacked statement execution.
- Restrict Budibase builder role assignments to trusted administrators to reduce the chance of a malicious or compromised builder triggering a crafted rename.
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

