Sceawere

Vulnerability Detail

CVE-2026-73408UPDATED Verified Sceawere Triage Sources: NVD / CISA KEV

Budibase MySQL Second-Order SQL Injection

Vulnerability Metadata

Severity
High
Score / CVSS
7.6
Creation Date
3h ago
Vendor
Budibase
Product
budibase
Attack Type
CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Vector String
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H
Attack Complexity
HIGH

Narrative and Response

Description

Budibase is an open-source low-code platform. Prior to 3.39.18, packages/server/src/integrations/mysql.ts enabled multipleStatements and inserted an unescaped tableName into a DESCRIBE statement. An attacker able to create a MySQL table with a backtick and stacked statement in its name could wait for a Budibase administrator to run schema discovery, causing the second statement to execute. The fix applies quoteMySqlIdentifier before constructing the query. This issue is fixed in version 3.39.18.

Executive Summary

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Executive Summary Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Technical Details

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Detailed Technical Analysis Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Mitigations

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Remediation & Mitigations Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

References

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Intelligence References Locked

Sign up to unlock professional threat analysis, mitigations, and indicator signatures.

Additional Metadata

{
  "score": "7.6",
  "pubDate": "2026-08-13T22:17:25.810Z",
  "pubdate": "2026-08-13T22:17:25.810Z",
  "executiveSummary": "A second-order SQL injection vulnerability exists in the Budibase low-code platform prior to version 3.39.18. The flaw resides within the MySQL integration component, specifically handling table names during schema discovery operations. An authenticated or unauthenticated attacker capable of creating a maliciously crafted MySQL table containing backticks and stacked SQL statements can trigger arbitrary command execution. The risk implications include potential unauthorized data access, modification, or destruction within the database environment. Exploitation requires the attacker to successfully provision a specially named table in an accessible database and wait for a Budibase administrator to subsequently initiate a schema discovery routine. Upon execution of the schema discovery process, the unescaped table name is concatenated directly into a DESCRIBE statement with multiple statements enabled, leading to the execution of the injected payload. Remediation requires upgrading the Budibase server package to version 3.39.18 or higher, which properly implements identifier quotation.",
  "technicalDetails": "The vulnerability is rooted in the database integration layer of Budibase, specifically within the packages/server/src/integrations/mysql.ts file. Prior to version 3.39.18, the underlying MySQL connection configuration enabled the multipleStatements option, allowing the execution of multiple semicolon-delimited SQL queries within a single database request. During schema discovery routines, the application dynamically constructs SQL queries by directly interpolating the table name into a DESCRIBE statement without performing adequate sanitization or escaping.\nThe root cause is the lack of proper identifier quoting for the tableName variable prior to query construction. An attacker exploits this behavior by creating a MySQL table whose identifier contains malicious SQL syntax, typically incorporating backticks to break out of the identifier context and semicolons to inject stacked statements. Once the malicious table is provisioned within a target database accessible to the Budibase instance, the attacker must wait for a Budibase administrator to trigger schema introspection or table discovery. When the administrator initiates this routine, the application queries the database schema and evaluates the malicious table name.\nThe attack flow proceeds as follows: First, the attacker creates a table with a payload injected into the table identifier. Second, the attacker waits for a privileged Budibase administrator to execute schema discovery. Third, the application queries the database using the vulnerable packages/server/src/integrations/mysql.ts component. Fourth, the unescaped table name containing stacked statements is processed by the database driver because multipleStatements is enabled. Fifth, the database executes both the original DESCRIBE query and the attacker-supplied secondary statements with the privileges of the database user configured in Budibase.\nThe affected component is the MySQL integration module located at packages/server/src/integrations/mysql.ts in Budibase versions prior to 3.39.18. Exploitation relies on database-level privileges to create tables and administrative interaction within Budibase to trigger the schema discovery mechanism. The post-exploitation impact depends on the database privileges granted to the Budibase connection string, potentially ranging from read-write access to underlying application data up to administrative database compromise."
}
CVE-2026-73408: Budibase MySQL Second-Order SQL Injection (HIGH Severity, CVSS: 7.6) - Sceawere