Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDiscover exposed Budibase webhook endpoint
-
DeliveryPOST crafted JSON with SQL payload
-
ExploitInjection reaches EXECUTE_QUERY step
-
ExecutionQuery runs with datasource credentials
-
ImpactExfiltrate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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.
EUVD-2026-58502
GHSA-x389-5jg5-q6vh
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB