---
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-19'
sourceUpdated: '2026-10-19T23:53:59.913Z'
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/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.00289
epssPercentile: 0.2017
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 vulnerable expression is executed when Baserow recalculates Formula-field values. Because the generated SQL runs through Baserow's database connection, the injected SQL executes with the privileges of the Baserow PostgreSQL role rather than the permissions of the authenticated application user, allowing data to be read or modified outside the user's workspace permissions.

## Affected

- `Baserow >= 2.2.0 <= 2.3.3`

## Remediation

Upgrade to Baserow 2.4.0 or later. The upstream patch restricts index() to its documented two-argument form and allowlists legacy internal SQL templates. Until the upgrade is complete, restrict Formula-field creation and modification to trusted users, identify Formula definitions containing a fourth index() argument, and review database activity for unexpected SQL execution.
