{
  "id": "CVE-2026-19754",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-19754",
  "published_at": "2026-09-02T03:29:38.759Z",
  "title": "Baserow 2.2.0 through 2.3.3 - SQL injection in formula index() JSONB array extraction",
  "vendor": "Baserow",
  "product": "Baserow",
  "cvss": {
    "score": 8.6,
    "source": "cna",
    "vector": "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-89",
  "cvss_by_source": {
    "cna": 8.6
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Baserow",
        "product": "Baserow",
        "ranges": [
          "\u003e= 2.2.0, \u003c= 2.3.3"
        ],
        "fixed_in": null
      }
    ],
    "solutions": [
      "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."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/baserow/baserow/commit/e7abc14975124dfe4558ff47fb8b9a25c47d9fcc"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/baserow/baserow/releases/tag/2.3.4"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
