{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-47375","id":"CVE-2026-47375","title":"NocoDB: Postgres SQL Injection in Formula `ARRAYSORT`","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 sub","descriptionLong":"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","updated":"2026-11-04T02:47:46.836848832Z","reserved":"2026-05-19T19:22:45.727Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:H","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:H","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:H","rating":"medium","source":"github.com"},{"version":"3.1","score":6,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:H","rating":"medium","source":"OSV"},{"version":"3.1","score":6,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:H","rating":"medium","source":"GitHub"}],"rating":"medium","products":["nocodb"],"affectedProducts":[{"vendor":"nocodb","product":"nocodb","defaultStatus":null,"versions":[{"version":"< 2026.04.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"nocodb","purl":"pkg:npm/nocodb","ranges":["<2026.04.1"],"fixed":["2026.04.1"],"advisory":"GHSA-cxv7-gmmp-228p"}],"cwes":["CWE-89"],"aliases":["GHSA-cxv7-gmmp-228p"],"references":[{"url":"https://github.com/nocodb/nocodb/security/advisories/GHSA-cxv7-gmmp-228p","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47375.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47375","tags":["advisory"]},{"url":"https://github.com/nocodb/nocodb","tags":["package"]},{"url":"https://github.com/nocodb/nocodb/releases/tag/2026.04.1","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00376,"epssPercentile":0.32152,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-47375","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47375","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-47375","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-cxv7-gmmp-228p","ok":true,"note":"GHSA-cxv7-gmmp-228p"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-47375","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}