Skip to main content
← All vulnerabilities
CVE-2026-47375GHSA-CXV7-GMMP-228P

NocoDB: Postgres SQL Injection in Formula `ARRAYSORT`

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2026.04.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • nocodb nocodb

    fixed in 2026.04.1

  • nocodbnpm

    fixed in 2026.04.1

References 1

GitHub · nocodb/nocodb