{"id":"GHSA-p8wx-5f39-w3x4","revision":"d1534a88853d4215aabefef2ebff442d","records":[{"revision":"d1534a88853d4215aabefef2ebff442d","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-p8wx-5f39-w3x4","aliases":["CVE-2026-47384"],"title":"NocoDB: SQL Injection via Column Title in Bulk GroupBy","description":"### Summary\nAn authenticated user with column-create permission can inject SQL into the bulk groupBy\nendpoint by setting a column's title to a SQL fragment.\n\n### Details\nThe bulk groupBy path in `group-by.ts` builds three database-specific `knex.raw()`\naggregations that interpolate the request's `column_name` directly into the SQL string.\nColumn lookup in `data-table.service.ts` matches on both the sanitized `column_name`\nfield and the free-text `title`, so a title containing a SQL fragment bypasses the\npublic endpoint's existing column allowlist and reaches the query builder unescaped.\n\n### Impact\nSQL injection against the connected database with read access to any expression an\nattacker can place in a column title. Exploitation requires an authenticated session\nwith permission to create or rename columns.\n\n### Credit\nThis issue was reported by [@geo-chen](https://github.com/geo-chen).","state":0,"publishedAt":"2026-06-05T16:19:59+00:00","modifiedAt":"2026-07-20T21:30:41.0890515+00:00","affected":[{"ecosystem":"npm","name":"nocodb","ranges":[{"type":"ECOSYSTEM","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2026.05.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/nocodb/nocodb/security/advisories/GHSA-p8wx-5f39-w3x4","https://nvd.nist.gov/vuln/detail/CVE-2026-47384","https://github.com/nocodb/nocodb","https://github.com/nocodb/nocodb/releases/tag/2026.05.1"],"sourceUrl":"https://github.com/advisories/GHSA-p8wx-5f39-w3x4","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-p8wx-5f39-w3x4","identifiers":["GHSA-p8wx-5f39-w3x4","CVE-2026-47384"]},"retained":false,"historicalAffected":[]}],"coverage":[]}