---
id: CVE-2026-72851
title: >-
  Budibase before 3.40.0 contains an unauthenticated SQL injection vulnerability
  in webhook-triggered automations with EXECUTE_QUERY steps
summary: >-
  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 …
severity: critical
cvss: 10
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H'
cwe:
  - CWE-89
vendor: budibase
product: server
affected:
  - server < 3.40.0
published: '2026-08-13'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T16:17:36.947'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-72851'
references:
  - url: >-
      https://github.com/Budibase/budibase/security/advisories/GHSA-x7h8-ww3q-xv7c
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/budibase-before-sql-injection-via-unauthenticated-webhook
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/Budibase/budibase/security/advisories/GHSA-x7h8-ww3q-xv7c
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'yes'
  technicalImpact: total
  timestamp: '2026-08-14T19:02:02.901725Z'
epss: 0.00417
epssPercentile: 0.33901
ingestedAt: '2026-10-08T16:52:14.716Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
