CVE-2026-47375
MEDIUM 6.0CVSS 3.1NocoDB: Postgres SQL Injection in Formula `ARRAYSORT`
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
- 23 Jun 2026
- Last modified
- 20 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-89
- Also known as
- GHSA-cxv7-gmmp-228p
- Sources
- NVDJSONOSV GHSA-cxv7-gmmp-228pJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.0 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.0 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | nocodb | < 2026.04.1 | 2026.04.1 |
References
- https://github.com/nocodb/nocodb/security/advisories/GHSA-cxv7-gmmp-228p · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-47375 · ADVISORY
- https://github.com/nocodb/nocodb · PACKAGE
- https://github.com/nocodb/nocodb/releases/tag/2026.04.1 · WEB
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 23 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 Jun 2026)