CVE-2026-47375 Details
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.
A SQL injection vulnerability has been identified in NocoDB versions prior to 2026.04.1, specifically within the Postgres implementation of the formula function ARRAYSORT. This vulnerability allows authenticated users with columnAdd permission to inject arbitrary SQL into the formula engine. The injection occurs through the optional direction argument of ARRAYSORT, which bypasses formula validation and is directly embedded into a knex.raw ORDER BY clause. The malicious SQL is executed during the creation of the column and each time the formula column is read. The issue arises because the Postgres mapping for ARRAYSORT does not properly validate the direction argument, allowing attacker-controlled SQL to be executed.
Users can upgrade to NocoDB version 2026.04.1 or later to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 23, 2026CISA-ADP
Assessed Jun 24, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/nocodb/nocodb/security/advisories/GHSA-cxv7-gmmp-228p | CISA-ADP | AdvisoryRemedyVendor |
| https://github.com/nocodb/nocodb/security/advisories/GHSA-cxv7-gmmp-228p | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| NocoDB | < 2026.04.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 24, 2026 | CVE Modified | CISA-ADP |
| Jun 23, 2026 | New CVE Received | [email protected] |
Volerion