{"schema":"threatline.record/2","record":{"id":"CVE-2026-100683","aliases":["GHSA-ppj8-hmx2-m546"],"summary":"Budibase before 3.45.0 SQL Injection via column-rename DDL","details":"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.","categories":["Unclassified"],"product":"server","vendor":"budibase","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-100683","source_modified_at":"2026-10-08T15:21:55.694Z","fetched_at":"2026-10-23T18:48:36.087640Z","product":"server","vendor":"budibase","versions":[{"version":"0","status":"affected","versionType":"semver","lessThan":"3.45.0"},{"version":"3.45.0","status":"unaffected","versionType":"semver"}],"defaultStatus":"unaffected"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-100683","source_modified_at":"2026-10-08T15:21:55.694Z","fetched_at":"2026-10-23T18:48:36.087640Z","package":{"name":"server","ecosystem":null},"version":"3.45.0","basis":"first unaffected version stated in the CVE record"}],"cvss":8.9,"severity":"High","kev":{"listed":false},"epss":{"probability":0.00206,"percentile":0.10091,"score_date":"2026-10-23"},"published_at":"2026-09-26T13:23:44.523Z","modified_at":"2026-10-08T15:21:55.694Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-100683","fetched_at":"2026-10-23T18:48:36.087640Z","source_modified_at":"2026-10-08T15:21:55.694Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-100683","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/Budibase/budibase/security/advisories/GHSA-ppj8-hmx2-m546","tags":["exploit"]},{"source":"CVE List","url":"https://www.vulncheck.com/advisories/budibase-before-3.45.0-sql-injection-via-column-rename-ddl","tags":["third-party-advisory"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total","assessed_at":"2026-09-28T17:54:49.046964Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-08T15:21:55.694Z","content_hash":"851a6e76cfcf764f9e171a71065c996dfb14360e222bf0828a15426b54f4de6e"}}
