CVE-2026-47375 NocoDB: Postgres SQL Injection in Formula `ARRAYSORT`
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm nocodb(npm) | < 2026.04.1 | 2026.04.1 | Fixed |
| nocodb | = < 2026.04.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nocodb | = < 2026.04.1 | No fix listed |
| npm nocodb(npm) | < 2026.04.1 | 2026.04.1 |
References
- https://github.com/nocodb/nocodb/security/advisories/GHSA-cxv7-gmmp-228p exploit vendor-advisory
- github.com
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product