{"id":"CVE-2026-100683","published":"2026-09-26T13:23:44Z","modified":"2026-10-08T15:21:55Z","title":"Budibase before 3.45.0 SQL Injection via column-rename DDL","vendor":"budibase","product":"server","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00263,"percentile":0.18537,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/Budibase/budibase/security/advisories/GHSA-ppj8-hmx2-m546","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/budibase-before-3.45.0-sql-injection-via-column-rename-ddl","tags":["third-party-advisory"]}],"priority":{"score":9.3,"factors":[{"name":"EPSS percentile","points":3.71},{"name":"CVSS severity","points":5.6}]},"vendorSlug":"budibase","affectedVersions":[{"vendor":"budibase","product":"server","versions":["< 3.45.0"]}],"fixedVersions":[{"vendor":"budibase","product":"server","versions":["3.45.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-09-28T17:54:49.046964Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-87656","exploited":false,"provenance":"source"}}