Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Budibase app field bound to MySQL
-
ExploitSubmit input with stacked SQL payload
-
ExecutionMulti-statement query executes on backend
-
ImpactExfiltrate or destroy database contents
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires (1) a Budibase deployment running a version prior to 3.40.0, and (2) at least one datasource configured as a MySQL integration - the vulnerable multipleStatements: true setting only applies to MySQL connections, so deployments without a MySQL datasource are not exposed. The attacker must be able to reach a Budibase app input field (form, filter, query parameter) that feeds into a MySQL-backed query. Limiting factors: the CVSS vector marks UI:R, implying some interaction/submission is needed, and reachability depends on whether the affected app is publicly published or restricted to authenticated internal users; a MySQL-less Budibase instance is not affected at all. |
| Impact | The reported CVSS is 9.6 (Critical) with vector AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H, and the technical impact is genuinely severe: stacked-query SQLi giving full database compromise (data theft, DROP/DELETE destruction, privilege escalation, DoS). A working PoC is embedded in the vendor GHSA advisory, which meaningfully raises exploitability, but this should not be conflated with active exploitation - it is not listed in CISA KEV and no EPSS score was provided in the input, so widespread in-the-wild abuse is unconfirmed. The signals are internally slightly inconsistent (the vector claims UI:R yet SQLi through a data-bound field often needs no interaction, and PR:N assumes the vulnerable form is reachable without authentication), so real-world exposure depends on whether the affected Budibase app is public or gated. Given a published PoC, low attack complexity, and total database impact, any organization running a MySQL-backed Budibase app should treat patching as urgent regardless of size or footprint. |
| Exploit ScenarioDerived | An attacker locates a Budibase app screen (for example a form, search box, or filter) whose query is bound to a MySQL datasource and submits input containing a semicolon-separated second statement such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 12, 2026
SQL injection in Budibase's MySQL integration (all versions prior to 3.40.0) lets attackers execute arbitrary, stacked SQL statements against connected databases because the MySQL driver is instantiated with multipleStatements: true. Malicious input submitted through Budibase app fields bound to a MySQL datasource is passed to the backend database, enabling full read/write/destroy access. A proof-of-concept is published in the GHSA advisory; there is no public exploit identified as being used in active attacks (not in CISA KEV).
RemediationAI
Vendor-released patch: upgrade to Budibase 3.40.0 or later, which sets multipleStatements: false in the MySQL integration (see https://github.com/Budibase/budibase/releases/tag/3.40.0 and advisory https://github.com/Budibase/budibase/security/advisories/GHSA-q6x4-v3qx-85qw). If you cannot upgrade immediately, the advisory recommends temporarily disabling the MySQL integration/datasource (trade-off: any app relying on that datasource stops functioning), restricting the MySQL account Budibase uses to least privilege so a successful injection cannot DROP tables, grant privileges, or use SELECT INTO OUTFILE (trade-off: legitimate write operations may break and this does not stop data theft via SELECT), and placing a WAF in front of Budibase to filter obvious stacked-query payloads (trade-off: WAF signatures are bypassable and offer only partial coverage). Upgrading is the only complete fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw lives in packages/server/src/integrations/mysql.ts (line ~173), where the mysql2 Node.js driver connection is configured with multipleStatements: true. By default the mysql2 driver disables multi-statement execution precisely to blunt SQL injection; Budibase re-enabled it globally for every MySQL datasource. Combined with CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), this means a single injected input can carry a payload such as 1; DROP TABLE sensitive_data; -- and the driver will happily execute both the intended query and the attacker's appended statements. The affected component is cpe:2.3:a:budibase:budibase (the @budibase/server npm package), and the root cause is a driver-level configuration choice rather than a single unsanitized query, so it affects every MySQL datasource in the platform.
Know when Budibase gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Network stacked-query SQLi with low complexity; PR:L because an attacker typically needs access to a MySQL-bound app, UI:N since the injection itself needs no interaction, S:C as impact hits the separate database.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
Budibase is an open-source low-code platform. Prior to 3.40.0, 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. This vulnerability is fixed in 3.40.0.
Executive ViewAI
Budibase's MySQL integration contains a critical SQL injection vulnerability with publicly available exploit code that allows attackers to execute arbitrary database commands and gain complete read/write/delete access to connected MySQL databases. Organizations using this integration risk direct compromise of sensitive data, database integrity violations, and potential regulatory violations without immediate intervention.
No vendor-released patch identified at time of analysis. Disable MySQL data source integrations immediately; implement network segmentation isolating Budibase from MySQL endpoints; deploy database-level query monitoring and anomaly detection; restrict database user permissions to least-privilege access; enable comprehensive audit logging on all database operations.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Unauthorized data access in Budibase low-code platform before 3.30.4 allows unauthenticated users to manipulate internal
Authorization bypass in Budibase 3.31.4 and earlier. The authorized() middleware can be bypassed, enabling injection att
Authentication bypass in Budibase low-code platform (versions prior to 3.35.4) allows remote unauthenticated attackers t
Budibase is a low code platform for creating internal tools, workflows, and admin panels. [CVSS 8.8 HIGH]
Unauthenticated remote attackers can defeat the one-time initialization lock on self-hosted, single-tenant Budibase depl
Unauthenticated user enumeration and metadata disclosure in Budibase prior to 3.39.32 exposes tenant identifiers, email
Server-Side Request Forgery (SSRF) in Budibase's REST datasource connector (versions prior to 3.33.4) allows authenticat
OAuth2 access and refresh token theft in Budibase's automation testing pipeline exposes SSO-authenticated builder creden
Improper Control of Dynamically-Managed Code Resources in GitHub repository budibase/budibase prior to 1.3.20. Rated med
Path traversal in Budibase low-code platform 3.31.5 and earlier allows attackers to read arbitrary files through the app
Remote code execution in Budibase self-hosted server before 3.41.3 lets authenticated administrators run arbitrary JavaS
Account enumeration and targeted denial-of-service in Budibase prior to 3.39.25 stem from an observable response discrep
EUVD-2026-57394
GHSA-q6x4-v3qx-85qw
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB