CVE-2026-64657

Budibase: Database Connector SQL Injections in PostgreSQL, MS SQL, and MySQL

Published Aug 17, 2026 CVSS 3.1 · 8.4 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Budibase
Budibase budibase
Vendors & Products Budibase
Budibase budibase
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'}

Weaknesses
  • CWE-89

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 18, 2026, 3:30 PM
Reserved
Jul 20, 2026, 5:11 PM
Status
Deferred
Published
Aug 17, 2026, 9:16 PM
Modified
Sep 8, 2026, 9:03 PM