p PatchFirst

CVE-2026-47375

CVE-2026-47375 · NocoDB: Postgres SQL Injection in Formula `ARRAYSORT`

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.0 · Medium · EPSS 0.4% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • nocodb

    Versions
    • < 2026.04.1: Affected

    No fix published

  • nocodb npm

    Affected ranges
    • ECOSYSTEM: < 2026.04.1

    Update to 2026.04.1

Original sources

Check your server →