# CVE-2026-47375: NocoDB: Postgres SQL Injection in Formula `ARRAYSORT`

- Severity: Medium 6.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-05T15:59:28.000Z
- Modified: 2026-07-20T21:30:34.498Z
- Also known as: GHSA-cxv7-gmmp-228p
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- nocodb nocodb: < 2026.04.1
- nocodb (npm): before 2026.04.1

## Every score

- GitHub_M: CVSS:3.1 6.0 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:H`
- GitHub: CVSS:3.1 6.0 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:H`

## References

- <https://github.com/nocodb/nocodb/security/advisories/GHSA-cxv7-gmmp-228p> (exploit, 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)

## Sources

- CVE List: [CVE-2026-47375](https://www.cve.org/CVERecord?id=CVE-2026-47375), CVE Terms of Use, modified 2026-06-24
- GitHub Advisory Database: [GHSA-cxv7-gmmp-228p](https://github.com/advisories/GHSA-cxv7-gmmp-228p), CC-BY-4.0, modified 2026-07-20
- NVD: [CVE-2026-47375](https://nvd.nist.gov/vuln/detail/CVE-2026-47375), Public domain, modified 2026-06-25

---

Page: https://cve.day/CVE-2026-47375 · Whole record: https://cve.day/CVE-2026-47375.json · Rebuilt by cve.day 2026-11-25T22:59:25.540Z
