CVE-2026-47375CWE-89

NocoDB: Postgres SQL Injection in Formula `ARRAYSORT`

Medium · published June 23, 2026

CVSS v3.1
6.0
EPSS
0%
Percentile
30.4
In the wild
Unconfirmed
What it is

NocoDB is software for building databases as spreadsheets. Prior to 2026.04.1, an authenticated user with columnAdd permission on a Postgres-backed base can inject arbitrary SQL into the formula engine via the optional direction argument of ARRAYSORT(...). The value is unrestricted by formula validation and embedded into a knex.raw ORDER BY clause, executing during column creation and on every subsequent record read of the formula column. The vulnerability is specific to the Postgres mapping for ARRAYSORT in packages/nocodb/src/db/functionMappings/pg.ts. This vulnerability is fixed in 2026.04.1.

The record
Technical detail
CVSS v3.1
6.0 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:H
CVSS v4.0
Not supplied
EPSS
0.00376 · 30.4th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2026-06-23T20:36Z
EPSS history
Timeline
  • 23 JUN 20:36Z
    NocoDB: Postgres SQL Injection in Formula `ARRAYSORT`
    cvelistv5