Description
Budibase is an open-source low-code platform. Prior to 3.39.19, the PostgreSQL datasource connector in packages/server/src/integrations/postgres.ts interpolates the user-controlled schema configuration field into a SET search_path statement without escaping embedded double quotes, allowing an authenticated administrator who saves or tests the datasource to execute arbitrary SQL through the simple query protocol. This issue is fixed in version 3.39.19.
Published: 2026-08-17
Score: 8.4 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in the PostgreSQL datasource connector of Budibase, where the schema configuration supplied by an administrator is interpolated directly into a SET search_path statement without escaping embedded double quotes. This omission permits the execution of arbitrary SQL through the simple query protocol when an authenticated administrator saves or tests a datasource. The result is a classic SQL injection that can compromise data confidentiality, integrity, and availability.

Affected Systems

Budibase, all versions prior to 3.39.19 are affected. An authenticated administrator must have the ability to edit or test datasource configurations for this flaw to be exploitable.

Risk and Exploitability

The flaw carries a CVSS score of 8.4 and is not listed as a known exploited vulnerability in CISA's KEV catalog. Because exploitation requires authenticated administrative access, the attack vector is likely restricted to administrators who have configuration rights. The lack of an EPSS score suggests no immediate exploitation data is available, but the high severity indicates a significant risk if an administrator inadvertently or maliciously inputs malicious schema data.

Generated by OpenCVE AI on August 17, 2026 at 21:36 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Budibase version 3.39.19 or later to receive the patch that sanitizes the schema configuration
  • Sanitize or escape double quotes in any user‑supplied schema configuration to prevent injection, or enforce input validation that rejects unsafe values
  • Implement monitoring of database logs for unexpected SET search_path or other anomalous SQL commands that could indicate exploitation attempts

Generated by OpenCVE AI on August 17, 2026 at 21:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 17 Aug 2026 22:00:00 +0000

Type Values Removed Values Added
First Time appeared Budibase
Budibase budibase
Vendors & Products Budibase
Budibase budibase

Mon, 17 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Description Budibase is an open-source low-code platform. Prior to 3.39.19, the PostgreSQL datasource connector in packages/server/src/integrations/postgres.ts interpolates the user-controlled schema configuration field into a SET search_path statement without escaping embedded double quotes, allowing an authenticated administrator who saves or tests the datasource to execute arbitrary SQL through the simple query protocol. This issue is fixed in version 3.39.19.
Title Budibase: Database Connector SQL Injections in PostgreSQL, MS SQL, and MySQL
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 8.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H'}


Subscriptions

Budibase Budibase
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-17T20:24:59.700Z

Reserved: 2026-07-20T17:11:30.896Z

Link: CVE-2026-64657

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-17T21:16:46.340

Modified: 2026-08-17T21:16:46.340

Link: CVE-2026-64657

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-17T21:45:03Z

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')