Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate with column-create permissions
-
DeliverySet column title to SQL injection fragment
-
ExploitSend bulk groupBy API request referencing malicious column title
-
InstallColumn resolved via unsanitized title field in data-table.service.ts
-
C2SQL fragment interpolated into knex.raw() aggregation
-
ExecuteArbitrary SQL executes against connected database
-
ImpactExfiltrate unauthorized database contents
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires: (1) an authenticated NocoDB session - unauthenticated access is not sufficient; (2) the authenticated account must hold column-create or column-rename permission on the target table - read-only collaborators and workspace guests without schema management rights cannot trigger the vulnerability; (3) the attacker must be able to set a column's free-text title field to a SQL fragment of their choosing; (4) the bulk groupBy endpoint must be accessible and process a request whose column is resolved via the title field rather than the sanitized column_name field. What limits exploitation: authentication is a hard prerequisite, and column-create permission is a specific elevated role rather than a default read permission. The vulnerability does not affect the standard single-row or list data endpoints - it is scoped to the bulk groupBy path in |
| Impact | No CVSS score or vector was provided with this CVE, so all metric-level inferences below are drawn from the advisory description rather than a formal vector. The advisory explicitly states that exploitation requires an authenticated session with column-create or column-rename permissions - this is a meaningful privilege barrier that excludes unauthenticated attackers and read-only users. However, in typical NocoDB deployments, column-create permission is commonly granted to collaborators, meaning the privileged attacker pool is not negligible, especially in shared workspace environments. The vulnerability is not listed in CISA KEV and no public exploit code has been identified at time of analysis, and no EPSS score is available, so active or widespread exploitation cannot be confirmed. Despite the absence of a CVSS score, the real-world impact is significant: successful exploitation yields SQL read access against the full connected database, potentially exposing data far beyond the attacker's authorized scope. The low technical complexity of SQL injection via a renamed column title (no memory corruption, no race conditions) means that any insider or compromised collaborator account could feasibly weaponize this without specialized expertise. Net assessment: high-priority patch for multi-user or internet-facing NocoDB instances; lower urgency for single-user or air-gapped deployments. |
| Exploit ScenarioDerived | An attacker with a NocoDB collaborator account that has column-create permissions renames an existing column's title to a SQL fragment such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 05, 2026
SQL injection in NocoDB's bulk groupBy endpoint allows authenticated users holding column-create or column-rename permissions to read arbitrary data from the connected database by crafting a malicious column title. Affected versions are all NocoDB npm releases up to and including 2026.05.0; a vendor-released patch is available in 2026.05.1. No public exploit code has been identified and the vulnerability is not listed in CISA KEV, but the low complexity of exploitation once authenticated and the direct database read impact make prompt patching a priority for any internet-exposed NocoDB deployment.
RemediationAI
Upgrade NocoDB to version 2026.05.1 or later; this is the vendor-confirmed fix version per the GitHub release at https://github.com/nocodb/nocodb/releases/tag/2026.05.1 and the security advisory at https://github.com/nocodb/nocodb/security/advisories/GHSA-p8wx-5f39-w3x4. For deployments where immediate upgrade is not feasible, restrict column-create and column-rename permissions to only the smallest set of highly trusted accounts - this directly eliminates the attacker's ability to set a malicious column title and is the most effective compensating control. Note that this restriction may impact collaborative workflows where multiple users manage table schema. As an additional layer, limit network access to NocoDB's API to internal networks or authenticated VPN users, reducing the exposure window for any compromised collaborator account. There is no indication that disabling a specific feature flag or endpoint is possible as a workaround without modifying application code.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
NocoDB is an open-source no-code database platform distributed as an npm package (pkg:npm/nocodb). The affected code paths are in group-by.ts, which constructs database-specific Knex ORM aggregation queries using knex.raw() - a low-level escape hatch that bypasses Knex's built-in parameterization when user-controlled strings are interpolated directly into the SQL template. The root bypass lives in data-table.service.ts: column resolution matches on both the sanitized column_name field and the free-text title field. Because the bulk groupBy endpoint maintains a column allowlist keyed on column_name, an attacker who sets a column's title to a SQL fragment causes the lookup to resolve the column via the unsanitized title path, delivering the fragment directly into the raw SQL string. This is a textbook CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) defect, specifically a second-order injection variant where the malicious payload is stored in the column title before being consumed by the query builder.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Primary rating from Vendor (https://github.com/nocodb/nocodb) · only source for this CVE.
CVSS VectorVendor: https://github.com/nocodb/nocodb
Lifecycle Timeline
1DescriptionCVE.org
Summary
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.
Details
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.
Impact
SQL injection against the connected database with read access to any expression an attacker can place in a column title. Exploitation requires an authenticated session with permission to create or rename columns.
Credit
This issue was reported by @geo-chen.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
EUVD-2026-38616
GHSA-p8wx-5f39-w3x4
NVD
CVE.org
EPSS
Exploit-DB