{"id":"CVE-2026-64657","state":"PUBLISHED","title":"Budibase: Database Connector SQL Injections in PostgreSQL, MS SQL, and MySQL","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.","publishedAt":"2026-08-17T20:24:59.700Z","updatedAt":"2026-08-18T15:30:33.751Z","severity":{"score":8.4,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["Budibase budibase"],"affected":[{"vendor":"Budibase","product":"budibase","versions":[{"version":"< 3.39.19","status":"affected"}]}],"references":["https://github.com/Budibase/budibase/security/advisories/GHSA-qqf5-x7mj-v43p","https://github.com/Budibase/budibase/commit/67572a82c3850964f388bfd969779dc025a80224"],"weaknesses":["CWE-89"],"ingestedAt":"2026-10-29T20:12:41.951Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/64xxx/CVE-2026-64657.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-64657","state":"PUBLISHED","datePublished":"2026-08-17T20:24:59.700Z","dateUpdated":"2026-08-18T15:30:33.751Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-07-20T17:11:30.896Z"},"containers":{"cna":{"title":"Budibase: Database Connector SQL Injections in PostgreSQL, MS SQL, and MySQL","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Budibase","product":"budibase","versions":[{"version":"< 3.39.19","status":"affected"}]}],"references":[{"url":"https://github.com/Budibase/budibase/security/advisories/GHSA-qqf5-x7mj-v43p","name":"https://github.com/Budibase/budibase/security/advisories/GHSA-qqf5-x7mj-v43p","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Budibase/budibase/commit/67572a82c3850964f388bfd969779dc025a80224","name":"https://github.com/Budibase/budibase/commit/67572a82c3850964f388bfd969779dc025a80224","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.4,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","lang":"en","description":"CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-17T20:24:59.700Z"},"source":{"advisory":"GHSA-qqf5-x7mj-v43p","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/Budibase/budibase/security/advisories/GHSA-qqf5-x7mj-v43p","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-18T15:30:01.047251Z","id":"CVE-2026-64657","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-18T15:30:33.751Z"}}]}}}