Skip to main content

Budibase EUVDEUVD-2026-58526

| CVE-2026-73408 HIGH
SQL Injection (CWE-89)
2026-08-13 security-advisories@github.com
7.6
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain MySQL DDL write access
  2. Delivery
    Create table with backtick-injected payload in name
  3. Exploit
    Wait for Budibase admin to trigger schema discovery
  4. Execution
    Budibase interpolates malicious table name into DESCRIBE query
  5. Persist
    multipleStatements executes injected SQL
  6. Impact
    Arbitrary database operations complete

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 two independent prerequisites that must both be satisfied. First, the attacker must have the ability to create a table with an arbitrary name (including backtick characters) in the MySQL database that the Budibase instance is connected to - this requires DDL privileges (CREATE TABLE) on that database, which is not granted to typical read-write application users in well-hardened deployments. Second, a Budibase administrator must actively trigger schema introspection for that datasource (the fetch-schema operation), which is a deliberate UI action, not an automated background process. Exploitation is limited to Budibase deployments using a MySQL datasource connector specifically; other database connectors are unaffected by this CVE. Environments where Budibase's database user has no DDL privileges are not exploitable regardless of other conditions. The attacker does not need any Budibase account or credentials - only database-level table-creation access. CVSS PR:H reflects these elevated database-side prerequisites.

Impact

The CVSS 3.1 vector (AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H) scores 7.6, which accurately reflects a vulnerability with high prerequisites but severe impact when those prerequisites are met. AC:H and PR:H together capture the two-part attacker requirement: write access to the MySQL database to create a maliciously named table, plus a Budibase administrator who must independently trigger schema discovery (UI:R). The Scope:Changed metric is justified because the injected SQL executes against the underlying database system, not just Budibase itself. The EPSS score is not provided in the input data, so exploitation probability cannot be quantified numerically. The vulnerability is not in the CISA KEV catalog and no public exploit code has been confirmed, suggesting exploitation is not currently widespread. The real-world risk is conditional: organizations where the Budibase application database user also has DDL privileges (CREATE TABLE) available to lower-trust parties - multi-tenant databases, shared hosting environments, or insufficiently segmented permissions - face meaningful exposure. Environments where Budibase has a dedicated, narrowly-scoped database user with only SELECT/INSERT/UPDATE/DELETE on application tables are not exploitable via this vector. The C:H/I:H/A:H impact accurately reflects that arbitrary SQL execution can exfiltrate all data, corrupt records, or drop tables depending on the database user's runtime privileges.

Exploit ScenarioDerived

An attacker with write access to the MySQL database backing a Budibase instance - for example, a lower-privileged application user in a shared database environment - creates a table named foo; DROP TABLE sensitive_data; -- with a backtick and stacked DROP statement embedded in the name. The attacker then waits; when a Budibase administrator next opens the datasource settings or refreshes the schema, Budibase reads the malicious table name from INFORMATION_SCHEMA.TABLES and injects it unescaped into DESCRIBE foo`; DROP TABLE sensitive_data; --, causing the MySQL driver (with multipleStatements enabled) to execute the DROP statement as a second query. No public exploit code has been confirmed, but the GHSA advisory provides a complete step-by-step reproduction that substantially lowers the bar for exploit development.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 13, 2026

SQL injection via MySQL backtick escape failure in Budibase's schema discovery feature allows an attacker with MySQL table-creation privileges to achieve arbitrary SQL execution on the underlying database. Affected versions prior to 3.39.18 interpolate raw table names into DESCRIBE queries while the MySQL connection has multipleStatements enabled, meaning a maliciously named table breaks out of the backtick-quoted identifier and executes attacker-controlled SQL when a Budibase administrator next triggers schema introspection. No public exploit code has been identified and the vulnerability is not listed in the CISA KEV catalog, but the GHSA advisory provides a detailed step-by-step reproduction sufficient for exploit development.

RemediationAI

The primary fix is upgrading @budibase/server to version 3.39.18 or later, available at https://github.com/Budibase/budibase/releases/tag/3.39.18; the upstream patch commit is d232bd92144c768884ff8c48cb2e28673d9ffde0. For organizations that cannot immediately upgrade, the most effective compensating control is restricting the MySQL user account that Budibase uses to connect so that it holds no DDL privileges (no CREATE TABLE, DROP TABLE, or ALTER TABLE grants) and no access to INFORMATION_SCHEMA beyond what is strictly necessary - this prevents an attacker from pre-planting the malicious table name, removing the injection prerequisite entirely. As a secondary control, disabling or restricting access to Budibase's schema discovery/introspection feature (the fetch-schema endpoint) limits the UI:R trigger surface, though this may impair legitimate administrator workflows. Note that removing multipleStatements: true from the connection configuration would also neutralize this specific attack vector, but this would require a local code patch and may break other integration behaviors; it is not an officially documented workaround. All mitigations short of patching should be treated as temporary.

Affected VersionsENISA

budibase < 3.39.18

Affected Packages

npm @budibase/server no fix
euvd budibase fix: 3.39.18

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

Budibase's MySQL integration (packages/server/src/integrations/mysql.ts) configures the underlying mysql2 connection with multipleStatements: true, which instructs the MySQL driver to permit semicolon-separated multi-statement execution in a single query round trip. During table introspection (schema discovery), the integration reads table names from INFORMATION_SCHEMA.TABLES and interpolates them directly into the string DESCRIBE ${tableName} without escaping embedded backtick characters. CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) precisely describes this root cause: user-influenced data - here the table name from the database itself - is concatenated into a query structure rather than parameterized or properly escaped. Because backticks delimit MySQL identifiers, an embedded backtick in a table name terminates the identifier early; the trailing content, including a semicolon payload, is then parsed and executed as a second statement, enabled by the multipleStatements flag. The fix introduces a quoteMySqlIdentifier utility that doubles all embedded backticks before wrapping the identifier, preventing break-out.

Know when the next one hits your stack

  • 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

Vendor (github) PRIMARY 7.6 HIGH
AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H
vuln.today AI 7.6 HIGH

AV:N because Budibase is a web-accessible platform; PR:H because exploiting requires DDL privileges on the target MySQL database; UI:R because an admin must trigger schema discovery; S:C because injected SQL executes against the underlying database beyond Budibase's own scope.

3.1 AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:H/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
High
Privileges Required
High
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

2
Patch available
Aug 13, 2026 - 23:04 EUVD
CVE Published
Aug 13, 2026 - 22:17 cve.org
HIGH 7.6

DescriptionCVE.org

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 ViewAI

Why It Matters

Budibase versions prior to 3.39.18 contain a SQL injection vulnerability in schema discovery that allows arbitrary database manipulation when administrators trigger schema introspection. With no vendor patch currently available, organizations using Budibase with MySQL must immediately assess their deployments and implement interim mitigations to prevent database compromise.

Business Impact: High
Compensating Controls

Disable or strictly restrict schema introspection to trusted administrator access; disable multipleStatements on all MySQL database connections; implement principle of least privilege to remove unnecessary table-creation permissions from Budibase service accounts; monitor database query logs for suspicious CREATE TABLE statements; isolate Budibase instances on restricted network segments with access controls.

Threat Intelligence Overview

EPSS Score
0.3%
Top 74% exploitable
Prevalence
Low
niche open-source low-code platform, limited enterprise footprint
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy