Skip to main content

Budibase EUVDEUVD-2026-58502

| CVE-2026-72851 CRITICAL
SQL Injection (CWE-89)
2026-08-13 disclosure@vulncheck.com GHSA-x389-5jg5-q6vh
9.0
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Discover exposed Budibase webhook endpoint
  2. Delivery
    POST crafted JSON with SQL payload
  3. Exploit
    Injection reaches EXECUTE_QUERY step
  4. Execution
    Query runs with datasource credentials
  5. Impact
    Exfiltrate or modify connected database data

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 that the target Budibase instance (before 3.40.0) has a published automation whose trigger is a webhook AND whose steps include an EXECUTE_QUERY action bound to a datasource with stored credentials - that automation configuration IS the prerequisite. The attacker POSTs attacker-controlled JSON to the webhook trigger endpoint; per the description this endpoint requires no authentication. Limiting factors: the vulnerable EXECUTE_QUERY-over-webhook automation must already exist and be reachable (it is not a default state), and impact is bounded by the privileges of the datasource credentials the builder configured; the official CVSS also assigns AC:H/AT:P, implying the specific vulnerable automation must be present for the attack to work.

Impact

The CVSS 4.0 base score is 9.0 (Critical), driven by high impact to both the vulnerable Budibase system and the subsequent connected datasource (VC/VI/VA and SC/SI/SA all High), reflecting full read/write/persistence on the backing database. Notably the official vector carries AC:H and AT:P and PR:L, indicating the rating assumes elevated complexity and some privilege/attack prerequisite - yet the description explicitly says the webhook trigger is UNAUTHENTICATED, a direct conflict that defenders should verify with the vendor. The realistic gating factor is not authentication but configuration: exploitation requires that a builder has already published an automation with a webhook trigger feeding an EXECUTE_QUERY step. No EPSS score, KEV listing, or POC was provided, so there is no evidence of active or widespread exploitation; the practical priority is therefore high for organizations running vulnerable Budibase instances with such automations exposed, and lower for those without EXECUTE_QUERY webhook flows. The severity of impact (credentialed access to production datasources like Snowflake) warrants prompt patching despite the absence of an observed exploit.

Exploit ScenarioDerived

An attacker enumerates a target Budibase deployment and discovers a published webhook automation endpoint. Without authenticating, they POST crafted JSON whose values embed SQL metacharacters that reach the downstream EXECUTE_QUERY step, causing injected SQL to run under the builder's Snowflake credentials to dump or alter table data. No public exploit was identified at time of analysis, but the network attack vector and lack of required credentials make hands-on exploitation straightforward once a vulnerable EXECUTE_QUERY webhook is located.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
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 in Budibase's webhook-triggered automation engine (versions before 3.40.0) lets remote attackers reach EXECUTE_QUERY automation steps and inject SQL that runs with the builder-configured datasource credentials. Because the webhook trigger endpoint accepts attacker-controlled JSON without authentication, an attacker can exfiltrate, modify, or persist data in connected backends such as Snowflake. No public exploit identified at time of analysis; the flaw is fixed in 3.40.0 and documented in GHSA-x7h8-ww3q-xv7c.

RemediationAI

Vendor-released patch: upgrade to Budibase 3.40.0 or later, which remediates the SQL injection in webhook-triggered EXECUTE_QUERY automations; see GHSA-x7h8-ww3q-xv7c (https://github.com/Budibase/budibase/security/advisories/GHSA-x7h8-ww3q-xv7c). If you cannot upgrade immediately, disable or unpublish any automation that combines a webhook trigger with an EXECUTE_QUERY step, since that specific chain is the exploitable path - this stops the attack but breaks any legitimate integration relying on it. Alternatively, restrict network reachability of the webhook trigger endpoint (place it behind an authenticating reverse proxy, allowlist, or VPN), accepting that this reduces the convenience of public webhook integrations. As defense in depth, rotate and least-privilege the datasource credentials Budibase uses (e.g., grant the Snowflake service account only the minimum schema/table rights) so a successful injection has limited blast radius; the trade-off is potential loss of functionality for automations that assumed broader database permissions.

Affected VersionsENISA

Server 0 <3.40.0

Affected Packages

euvd server fix: 3.40.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Budibase is an open-source low-code platform for building internal tools, admin panels, and workflows on top of connected datasources. Its automation engine exposes webhook triggers that accept external JSON payloads and can chain steps, including an EXECUTE_QUERY step that runs queries against a configured datasource (e.g., Snowflake, PostgreSQL) using credentials the app builder saved. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command): attacker-supplied fields from the webhook body are interpolated into the query executed by the EXECUTE_QUERY step rather than being parameterized/bound, so SQL metacharacters break out of the intended query context. Because the trigger endpoint is reachable without authentication, untrusted input flows directly into a privileged query path.

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 (vulncheck) PRIMARY 9.0 CRITICAL
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
vuln.today AI 9.0 CRITICAL

Webhook endpoint is unauthenticated (PR:N) but requires a pre-existing EXECUTE_QUERY webhook automation (AC:H); injected SQL runs on a separate connected datasource, so scope changes (S:C) with full C/I/A impact.

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

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

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

DescriptionCVE.org

Budibase before 3.40.0 contains an unauthenticated SQL injection vulnerability in webhook-triggered automations with EXECUTE_QUERY steps. Attackers can POST attacker-controlled JSON to the webhook trigger endpoint to inject SQL payloads that execute with builder-configured database credentials, enabling data exfiltration, modification, and persistence in connected datasources like Snowflake.

Executive ViewAI

Why It Matters

Budibase versions before 3.40.0 contain an unauthenticated SQL injection vulnerability in the webhook automation engine that enables attackers to directly query and manipulate any connected database-including Snowflake-without valid credentials. Organizations using Budibase with production database connections face immediate risk of data exfiltration, modification, and deletion.

Business Impact: Severe
Compensating Controls

Apply vendor patch (version 3.40.0 or later). Until upgrade is complete, restrict inbound access to Budibase webhook endpoints to known, authenticated callers via network or WAF rules.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Medium
popular open-source low-code platform, moderate but not enterprise-ubiquitous deployment
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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +45
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