All vulnerabilities

Servers and applications

GHSA-x7h8-ww3q-xv7c

Unauthenticated SQL Injection via Webhook to EXECUTE_QUERY Automation Chain

Severity
High 8.5
Published
22 Jul 2026
Last changed
22 Jul 2026
Added to UpHeron
3 Nov 2026
Fixed in
3.40.0
Weakness
SQL injection (CWE-89)Information exposure (CWE-200)Missing authentication (CWE-306)Missing authorization (CWE-862)
Attack
Over the network · Only under certain conditions · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Sources
Project advisories (GitHub)

Description

Budibase automation webhooks are unauthenticated by design - anyone who knows the (workspaceId, webhookId) pair (both are random UUIDs, but they are not secrets) can POST /api/webhooks/trigger/:instance/:id and trigger the linked automation with an attacker-controlled JSON body. That body becomes the automation's trigger context.

When the triggered automation contains an EXECUTE_QUERY (or API_REQUEST) step, the step runs a builder-authored query against its datasource with the trigger context spliced into the query's parameterised bindings - but the per-user auth-config resolution is bypassed (isAutomation: true skips getAuthConfig). This yields an unauthenticated SQL injection into Snowflake with attacker-chosen parameter values and builder-supplied credentials.

When the automation also contains a COLLECT step AND the deployment is licensed for synchronous automations (Feature.SYNC_AUTOMATIONS, an enterprise Pro feature), the unauthenticated webhook caller additionally receives…

From Budibase/budibase's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
BudibaseServers and applications · github:budibase/budibase
  • Every version before 3.40.0

About Budibase

low-code development platform

From Wikidata, CC0 1.0.
Docker Hub pulls
2,327,272Docker Hub, 15 Nov 2026
GitHub stars
28,419GitHub, 15 Nov 2026
Forks
2,238GitHub, 15 Nov 2026
Latest release
v4.0.0GitHub, 15 Nov 2026
Released
10 Nov 2026GitHub
First published on GitHub
7 Jun 2019GitHub

References