{"id":"CVE-2026-100683","aliases":["CVE-2026-100683"],"related":[],"kind":"vulnerability","state":"published","title":"Budibase before 3.45.0 SQL Injection via column-rename DDL","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-09-26T13:23:44.523Z","modified":"2026-10-08T16:16:58.700Z","severity":{"scorer":"VulnCheck","scheme":"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,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"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,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"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,"rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"3.45.0","status":"affected"},{"type":"semver","version":"3.45.0","status":"unaffected"}],"vendor":"budibase","product":"server","source":"cvelist"}],"references":[{"url":"https://github.com/Budibase/budibase/security/advisories/GHSA-ppj8-hmx2-m546","tags":["exploit","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/budibase-before-3.45.0-sql-injection-via-column-rename-ddl","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["manus-use"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-09-28T17:54:49.046Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-100683","url":"https://www.cve.org/CVERecord?id=CVE-2026-100683","licence":"CVE Terms of Use","modified":"2026-10-08T15:21:55.694Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-100683","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100683","licence":"Public domain","modified":"2026-10-08T16:16:58.700Z"}],"updatedAt":"2026-11-25T22:59:41.222Z","epss":{"score":0.00263,"percentile":0.1946,"date":"2026-12-01T12:00:22.000Z"}}