Server: Budibase: SQL Injection via `multipleStatements: true` (CVE-2026-73300)
## Summary A critical SQL injection vulnerability was discovered in Budibase's MySQL integration that allows remote attackers to execute arbitrary SQL commands. ## Details ### Vulnerability Type SQL Injection ### Description The MySQL integration component in Budibase is configured with `multipleStatements: true`, enabling execution of multiple SQL statements in a single query. Attackers can inject malicious SQL commands through user input fields, leading to complete database compromise. ### Location ```typescript // File: packages/server/src/integrations/mysql.ts // Line: 173 this.config = { ...config, typeCast: defaultTypeCasting, multipleStatements: true, // VULNERABLE timezone: "Z", } ``` ## Proof of Concept ### Exploit ```javascript const mysql = require('mysql2'); // Budibase vulnerable configuration const connection = mysql.createConnection({ host: 'localhost', user: 'root', password: 'password', multipleStatements: true, // Vulnerable setting timezone: "Z" }); // Attack: Data destruction connection.query( `SELECT * FROM users WHERE id = 1; DROP TABLE sensitive_data; --`, (err, results) => { if (!err) console.log("Table dropped successfully"); } ); ``` ## Impact - **Data Destruction**: Execute DROP TABLE, DELETE commands - **Data Theft**: Exfiltrate data via SELECT INTO OUTFILE - **Privilege Escalation**: Grant database admin privileges - **Denial of Service**: Disrupt service operations - **Complete Database Compromise**: Full control over database ## Remediation ### Patch ```diff --- a/packages/server/src/integrations/mysql.ts +++ b/packages/server/src/integrations/mysql.ts @@ -170,7 +170,7 @@ class MySQLIntegration extends Sql implements DatasourcePlus { this.config = { ...config, typeCast: defaultTypeCasting, - multipleStatements: true, + multipleStatements: false, timezone: "Z", } } ``` ### Workarounds 1. Temporarily disable MySQL integration 2. Implement web application firewall (WAF) 3. Restrict database user privileges
AI Analysis
Technical Summary
Budibase's MySQL integration component is configured with `multipleStatements: true`, which permits execution of multiple SQL statements in a single query. This configuration enables attackers to perform SQL injection attacks by injecting malicious SQL commands through user input fields. The vulnerability is located in the file `packages/server/src/integrations/mysql.ts` at line 173. Exploitation can result in executing destructive commands such as DROP TABLE, unauthorized data exfiltration, privilege escalation, and denial of service. The recommended fix is to set `multipleStatements` to false, preventing execution of multiple statements in a single query.
Potential Impact
The vulnerability allows remote attackers to execute arbitrary SQL commands, leading to potential data destruction (e.g., dropping tables), data theft (e.g., exfiltrating data), privilege escalation within the database, denial of service by disrupting database operations, and complete compromise of the database. These impacts can severely affect the confidentiality, integrity, and availability of the affected systems.
Mitigation Recommendations
A patch is available that disables the `multipleStatements` option by setting it to false in the MySQL integration configuration (`multipleStatements: false`). This change prevents execution of multiple SQL statements in a single query, mitigating the SQL injection risk. Additional workarounds include temporarily disabling the MySQL integration, implementing a web application firewall (WAF) to filter malicious inputs, and restricting database user privileges to limit potential damage.
Server: Budibase: SQL Injection via `multipleStatements: true` (CVE-2026-73300)
Description
## Summary A critical SQL injection vulnerability was discovered in Budibase's MySQL integration that allows remote attackers to execute arbitrary SQL commands. ## Details ### Vulnerability Type SQL Injection ### Description The MySQL integration component in Budibase is configured with `multipleStatements: true`, enabling execution of multiple SQL statements in a single query. Attackers can inject malicious SQL commands through user input fields, leading to complete database compromise. ### Location ```typescript // File: packages/server/src/integrations/mysql.ts // Line: 173 this.config = { ...config, typeCast: defaultTypeCasting, multipleStatements: true, // VULNERABLE timezone: "Z", } ``` ## Proof of Concept ### Exploit ```javascript const mysql = require('mysql2'); // Budibase vulnerable configuration const connection = mysql.createConnection({ host: 'localhost', user: 'root', password: 'password', multipleStatements: true, // Vulnerable setting timezone: "Z" }); // Attack: Data destruction connection.query( `SELECT * FROM users WHERE id = 1; DROP TABLE sensitive_data; --`, (err, results) => { if (!err) console.log("Table dropped successfully"); } ); ``` ## Impact - **Data Destruction**: Execute DROP TABLE, DELETE commands - **Data Theft**: Exfiltrate data via SELECT INTO OUTFILE - **Privilege Escalation**: Grant database admin privileges - **Denial of Service**: Disrupt service operations - **Complete Database Compromise**: Full control over database ## Remediation ### Patch ```diff --- a/packages/server/src/integrations/mysql.ts +++ b/packages/server/src/integrations/mysql.ts @@ -170,7 +170,7 @@ class MySQLIntegration extends Sql implements DatasourcePlus { this.config = { ...config, typeCast: defaultTypeCasting, - multipleStatements: true, + multipleStatements: false, timezone: "Z", } } ``` ### Workarounds 1. Temporarily disable MySQL integration 2. Implement web application firewall (WAF) 3. Restrict database user privileges
CVSS v3.1
Score 9.6critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Budibase's MySQL integration component is configured with `multipleStatements: true`, which permits execution of multiple SQL statements in a single query. This configuration enables attackers to perform SQL injection attacks by injecting malicious SQL commands through user input fields. The vulnerability is located in the file `packages/server/src/integrations/mysql.ts` at line 173. Exploitation can result in executing destructive commands such as DROP TABLE, unauthorized data exfiltration, privilege escalation, and denial of service. The recommended fix is to set `multipleStatements` to false, preventing execution of multiple statements in a single query.
Potential Impact
The vulnerability allows remote attackers to execute arbitrary SQL commands, leading to potential data destruction (e.g., dropping tables), data theft (e.g., exfiltrating data), privilege escalation within the database, denial of service by disrupting database operations, and complete compromise of the database. These impacts can severely affect the confidentiality, integrity, and availability of the affected systems.
Mitigation Recommendations
A patch is available that disables the `multipleStatements` option by setting it to false in the MySQL integration configuration (`multipleStatements: false`). This change prevents execution of multiple SQL statements in a single query, mitigating the SQL injection risk. Additional workarounds include temporarily disabling the MySQL integration, implementing a web application firewall (WAF) to filter malicious inputs, and restricting database user privileges to limit potential damage.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-q6x4-v3qx-85qw
- Osv Schema Version
- 1.4.0
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- CRITICAL
- Cvss Version
- 3.1
Threat ID: 6a6542309c2644c7f808a752
Added to database: 07/25/2026, 23:09:36 UTC
Last enriched: 07/25/2026, 23:57:30 UTC
Last updated: 09/07/2026, 14:11:22 UTC
Views: 136
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.