{"cve":"CVE-2026-47375","nvd":{"published":"2026-06-23T21:16:59.087","modified":"2026-06-25T14:21:00.260","status":"Deferred","description":"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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:H","score":6.0},"cwes":["CWE-89"],"references":["https://github.com/nocodb/nocodb/security/advisories/GHSA-cxv7-gmmp-228p","https://github.com/nocodb/nocodb/security/advisories/GHSA-cxv7-gmmp-228p"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:41:17.107060303+00:00"},"epss":{"cve":"CVE-2026-47375","score":0.00376,"percentile":0.31575,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-cxv7-gmmp-228p","url":"https://osv.dev/vulnerability/GHSA-cxv7-gmmp-228p","summary":"NocoDB: Postgres SQL Injection in Formula `ARRAYSORT`","modified":"2026-07-20T21:30:34.498307019Z","packages":[{"ecosystem":"npm","name":"nocodb","purl":"pkg:npm/nocodb","ranges":["<2026.04.1"],"fixed":["2026.04.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}