---
id: CVE-2026-100683
title: >-
  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_…
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_…
severity: high
cvss: 8
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H'
cwe:
  - CWE-89
vendor: budibase
product: server
affected:
  - server < 3.45.0
published: '2026-09-26'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T16:16:58.700'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-100683'
references:
  - url: >-
      https://github.com/Budibase/budibase/security/advisories/GHSA-ppj8-hmx2-m546
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/budibase-before-3.45.0-sql-injection-via-column-rename-ddl
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/Budibase/budibase/security/advisories/GHSA-ppj8-hmx2-m546
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-28T17:54:49.046964Z'
epss: 0.00263
epssPercentile: 0.18092
ingestedAt: '2026-09-26T13:33:20.907Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
