Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-47384 EUVD-2026-38616GHSA-p8wx-5f39-w3x4

NocoDB: SQL Injection via Column Title in Bulk GroupBy

Published Jun 23, 2026 · Updated Jun 24, 2026 · Assigned by GitHub_M

Description

NocoDB is software for building databases as spreadsheets. Prior to 2026.05.1, an authenticated user with column-create permission can inject SQL into the bulk groupBy endpoint by setting a column's title to a SQL fragment. The bulk groupBy path in group-by.ts builds three database-specific knex.raw() aggregations that interpolate the request's column_name directly into the SQL string. Column lookup in data-table.service.ts matches on both the sanitized column_name field and the free-text title, so a title containing a SQL fragment bypasses the public endpoint's existing column allowlist and reaches the query builder unescaped. This vulnerability is fixed in 2026.05.1.

Affected products

VendorProductAffectedFixed
nocodb nocodb < 2026.05.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm nocodb < 2026.05.1 2026.05.1 GHSA-p8wx-5f39-w3x4

References