---
id: CVE-2026-19754
title: >-
  Baserow 2.2.0 through 2.3.3 - SQL injection in formula index() JSONB array
  extraction
summary: >-
  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 …
severity: high
cvss: 8.6
cvssVector: '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'
cvssSource: cna
cwe:
  - CWE-89
vendor: Baserow
product: Baserow
affected:
  - Baserow >= 2.2.0 <= 2.3.3
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-02T12:57:54.080324Z'
exploitAvailable: true
published: '2026-09-02'
updated: '2026-10-23'
sourceUpdated: '2026-10-23T18:30:35.412Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-19754'
references:
  - url: 'https://fluidattacks.com/es/advisories/superestrella'
  - url: 'https://github.com/baserow/baserow'
  - url: >-
      https://github.com/baserow/baserow/commit/e7abc14975124dfe4558ff47fb8b9a25c47d9fcc
  - url: 'https://github.com/baserow/baserow/releases/tag/2.3.4'
  - url: >-
      https://github.com/baserow/baserow/commit/5d584c82d6a062afe7bcc80e067831d9385bcce2
  - url: 'https://github.com/baserow/baserow/releases/tag/2.4.0'
  - url: 'https://fluidattacks.com/advisories/superestrella'
tags:
  - cve.org
  - exploit-available
epss: 0.00392
epssPercentile: 0.33194
ingestedAt: '2026-10-19T22:46:42.317Z'
---

## Overview

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.

## Affected

- `Baserow >= 2.2.0 <= 2.3.3`

## Remediation

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

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.
