Baserow 2.2.0 through 2.3.3 - SQL injection in formula index() JSONB array extraction
Summary
| CVE | CVE-2026-19754 |
|---|---|
| State | PUBLISHED |
| Assigner | Fluid Attacks |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-09-02 04:17:51 UTC |
| Updated | 2026-10-23 19:17:44 UTC |
| Description | Baserow versions 2.2.0 through 2.3.3 contain an SQL injection vulnerability in the index() formula function. A low-privileged authenticated user who can create or modify Formula fields can provide an undocumented fourth argument that is treated as a SQL template and interpolated directly into a PostgreSQL expression. The generated SQL executes through Baserow's database connection with the Baserow PostgreSQL role permissions, allowing data outside the user's workspace permissions to be read or modified. |
Risk And Classification
Primary CVSS: v4.0 8.6 HIGH from [email protected]
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS: 0.003920000 probability, percentile 0.319130000 (date 2026-10-20)
Problem Types: CWE-89 | CWE-89 CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 8.6 | HIGH | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/C... |
| 4.0 | CNA | CVSS | 8.6 | HIGH | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
CVSS v4.0 Breakdown
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/baserow/baserow/releases/tag/2.3.4 | [email protected] | github.com | |
| fluidattacks.com/es/advisories/superestrella | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | fluidattacks.com | |
| github.com/baserow/baserow | [email protected] | github.com | |
| github.com/baserow/baserow/commit/e7abc14975124dfe4558ff47fb8b9a25c47d9fcc | [email protected] | github.com | |
| fluidattacks.com/advisories/superestrella | MITRE | fluidattacks.com | |
| github.com/baserow/baserow/commit/5d584c82d6a062afe7bcc80e067831d9385bcce2 | MITRE | github.com | |
| github.com/baserow/baserow/releases/tag/2.4.0 | MITRE | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Miguel Gómez (en)
CNA: Fluid Attacks' AI SAST Scanner (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-08-12T19:00:00.000Z | Vulnerability discovered |
| CNA | 2026-08-13T15:57:00.000Z | Vendor contacted |
| CNA | 2026-08-14T10:00:00.000Z | Vendor replied |
| CNA | 2026-09-02T19:00:00.000Z | Public disclosure |
| CNA | 2026-09-15T14:21:00.000Z | Vulnerability patched |
Solutions
CNA: Upgrade to Baserow 2.3.4 or later. The patch rejects user-supplied four-argument index() formulas and restricts legacy internal SQL templates to an allowlist. Verify the deployed version and run Formula-field regression tests before restoring Formula-field editing permissions.
Workarounds
CNA: Until the upgrade is complete, restrict Formula-field creation and modification to trusted users. Identify Formula definitions containing a fourth index() argument, review database activity for unexpected SQL execution, and rotate database credentials if compromise is suspected.