{"id":"CVE-2026-47375","aliases":["GHSA-cxv7-gmmp-228p"],"url":"https://o3.security/vulnerability/CVE-2026-47375","summary":"NocoDB: Postgres SQL Injection in Formula `ARRAYSORT`","details":"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.","published":"2026-06-23T20:36:26.870Z","modified":"2026-08-12T03:51:16.215071205Z","cvss":{"score":6,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:H"},"epss":{"score":0.00215,"percentile":0.12132,"asOf":"2026-08-20"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"nocodb","fixedVersion":"2026.04.1"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47375.json"},{"type":"ADVISORY","url":"https://github.com/nocodb/nocodb/security/advisories/GHSA-cxv7-gmmp-228p"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47375"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:16.215071205Z"}}