CVE-2026-47384
Received Received - Intake
SQL Injection in NocoDB Prior to 2026.05.1

Publication date: 2026-06-23

Last updated on: 2026-06-23

Assigner: GitHub, Inc.

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-23
Last Modified
2026-06-23
Generated
2026-06-24
AI Q&A
2026-06-24
EPSS Evaluated
N/A
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
nocodb nocodb 2026.05.1
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability exists in NocoDB software versions prior to 2026.05.1. An authenticated user who has permission to create columns can exploit the bulk groupBy endpoint by injecting SQL code through a column's title. The system builds SQL queries by directly inserting the column name into the query string without proper escaping, and because the column title is used in the lookup process, a malicious SQL fragment in the title bypasses the allowlist protections and reaches the query builder unescaped. This can lead to unintended SQL execution.

Impact Analysis

This vulnerability allows an authenticated user with limited permissions to perform SQL injection attacks via the bulk groupBy endpoint. This could lead to unauthorized data access, data manipulation, or other unintended database operations, potentially compromising the integrity and confidentiality of the database.

Mitigation Strategies

To mitigate this vulnerability, you should upgrade NocoDB to version 2026.05.1 or later, where the issue has been fixed.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-47384. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart