Skip to content
Heist/ feed
High

Budibase before 3.45.0 SQL Injection via column-rename DDL

Type: advisorySource: Official CVE List1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-100683

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2026-100683

server

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "vendor": "budibase",
    "product": "server",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "3.45.0",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "3.45.0",
        "versionType": "semver"
      }
    ],
    "packageURL": "pkg:npm/%40budibase/server",
    "defaultStatus": "unaffected"
  }
]
Related CVEs
CVE-2026-100683

Source reference: /cveMetadata/cveId

Publisher severity

high

Source reference: /containers/cna/metrics

Event
#12672 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement