{"id":"CVE-2026-100683","revision":"ec9f6a1e27844453a644e48cb0d35264","records":[{"revision":"ec9f6a1e27844453a644e48cb0d35264","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-100683","aliases":[],"title":"Budibase before 3.45.0 SQL Injection via column-rename DDL","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.","state":0,"publishedAt":"2026-09-26T13:23:44.523+00:00","modifiedAt":"2026-10-08T15:21:55.694+00:00","affected":[{"ecosystem":"Vendor product","name":"server","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"budibase\",\n                    \"product\": \"server\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:npm/%40budibase/server\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"3.45.0\"\n                        },\n                        {\n                            \"version\": \"3.45.0\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","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","score":8.9,"severity":"HIGH"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","score":8,"severity":"HIGH"}],"references":["https://github.com/Budibase/budibase/security/advisories/GHSA-ppj8-hmx2-m546","https://www.vulncheck.com/advisories/budibase-before-3.45.0-sql-injection-via-column-rename-ddl"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-100683","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-100683","identifiers":["CVE-2026-100683"]},"retained":false,"historicalAffected":[]}],"coverage":[]}