CVE-2026-64657 Budibase: Database Connector SQL Injections in PostgreSQL, MS SQL, and MySQL

High 8.4 Published Updated

An authenticated administrator can execute arbitrary SQL via unescaped schema fields in the PostgreSQL connector, impacting data integrity and confidentiality.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-64657?

CVE-2026-64657 is a high-severity SQL injection vulnerability in budibase, published on 17 Aug 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

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

Weakness: CWE-89

Which versions are affected by CVE-2026-64657?

2 open source packages ship an affected version, including budibase.

PackageAffectedFixed in
budibase npmAll versions3.39.19
budibase npmAll versions3.39.19

How do I fix CVE-2026-64657?

Upgrade budibase to 3.39.19 or later.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2026-64657 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-64657 exists.

Sources

Also known as GHSA-qqf5-x7mj-v43p.

Is CVE-2026-64657 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free