8.9high
Budibase before 3.45.0 SQL Injection via column-rename DDL
- Severity
- 8.9high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.26% (higher than 19% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| budibase server | before 3.45.0 Not affected: 3.45.0 | CVE List |
All scores
| VulnCheck | 8.9high CVSS:4.0 | 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 |
| VulnCheck | 8.0high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
References
| https://github.com/Budibase/budibase/security/advisories/GHSA-ppj8-hmx2-m546 | exploit, vendor-advisory | |
| https://www.vulncheck.com/advisories/budibase-before-3.45.0-sql-injection-via-column-rename-ddl | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-100683 changed 2026-10-08 | CVE Terms of Use |
| NVD | CVE-2026-100683 changed 2026-10-08 | Public domain |