CVE-2026-100683: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in budibase server
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.
AI Analysis
Technical Summary
Budibase server before version 3.45.0 constructs MySQL and MSSQL column-rename DDL statements by directly interpolating identifiers into raw query strings without using the project's identifier-quoting helpers. An attacker with DDL rights can create a column name containing special characters (backtick for MySQL, single quote for MSSQL) plus additional SQL code. Budibase stores this name verbatim, and when a user renames the column via the UI, the embedded quote prematurely terminates the identifier, causing the injected SQL to execute. Because the MySQL connection allows multiple statements, the attacker can run stacked SQL commands as the Budibase datasource user, enabling arbitrary database reads, writes, or destructive actions outside Budibase's row/table permission controls. The vulnerability is resolved in version 3.45.0.
Potential Impact
Exploitation allows an attacker with DDL rights on a connected MySQL or MSSQL datasource to execute arbitrary SQL commands with the privileges of Budibase's datasource user. This can lead to unauthorized data access, modification, or destruction beyond Budibase's built-in permission model. The vulnerability affects the integrity, confidentiality, and availability of the connected database.
Mitigation Recommendations
This vulnerability is fixed in Budibase server version 3.45.0. Users should upgrade to version 3.45.0 or later to remediate the issue. No additional mitigations are required once the update is applied.
CVE-2026-100683: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in budibase server
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.
CVSS v4.0
Score 8.9high
Affected software
budibase
server
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Budibase server before version 3.45.0 constructs MySQL and MSSQL column-rename DDL statements by directly interpolating identifiers into raw query strings without using the project's identifier-quoting helpers. An attacker with DDL rights can create a column name containing special characters (backtick for MySQL, single quote for MSSQL) plus additional SQL code. Budibase stores this name verbatim, and when a user renames the column via the UI, the embedded quote prematurely terminates the identifier, causing the injected SQL to execute. Because the MySQL connection allows multiple statements, the attacker can run stacked SQL commands as the Budibase datasource user, enabling arbitrary database reads, writes, or destructive actions outside Budibase's row/table permission controls. The vulnerability is resolved in version 3.45.0.
Potential Impact
Exploitation allows an attacker with DDL rights on a connected MySQL or MSSQL datasource to execute arbitrary SQL commands with the privileges of Budibase's datasource user. This can lead to unauthorized data access, modification, or destruction beyond Budibase's built-in permission model. The vulnerability affects the integrity, confidentiality, and availability of the connected database.
Mitigation Recommendations
This vulnerability is fixed in Budibase server version 3.45.0. Users should upgrade to version 3.45.0 or later to remediate the issue. No additional mitigations are required once the update is applied.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-09-26T02:36:51.810Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6ab7c9abf7a7c5410652fd4e
Added to database: 09/26/2026, 13:33:31 UTC
Last enriched: 09/26/2026, 13:48:36 UTC
Last updated: 09/27/2026, 04:31:26 UTC
Views: 12
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.