Skip to main content

NocoDB CVE-2026-47384

| EUVDEUVD-2026-38616 MEDIUM
SQL Injection (CWE-89)
2026-06-05 https://github.com/nocodb/nocodb GHSA-p8wx-5f39-w3x4
5.3
CVSS 4.0 · Vendor: https://github.com/nocodb/nocodb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate with column-create permissions
  2. Delivery
    Set column title to SQL injection fragment
  3. Exploit
    Send bulk groupBy API request referencing malicious column title
  4. Install
    Column resolved via unsanitized title field in data-table.service.ts
  5. C2
    SQL fragment interpolated into knex.raw() aggregation
  6. Execute
    Arbitrary SQL executes against connected database
  7. Impact
    Exfiltrate 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 group-by.ts. Exploitation cannot occur from a read-only or viewer-role account.

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 x || (SELECT password FROM users LIMIT 1) --. The attacker then triggers the bulk groupBy API endpoint with a request referencing the column by this title. Because data-table.service.ts resolves the column via the free-text title match and passes it unsanitized into knex.raw() in group-by.ts, the injected SQL executes against the connected database and the attacker receives query results containing data from tables they are not authorized to access. No public exploit code has been identified, but the technique requires no specialized tooling beyond crafting a standard HTTP API request.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

nocodb < 2026.05.1

Affected Packages

npm nocodb fix: 2026.05.1

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

Vendor (https://github.com/nocodb/nocodb) PRIMARY 5.3 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Jun 23, 2026 - 21:22 NVD
5.3 (MEDIUM)

DescriptionCVE.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

EPSS Score
0.0%
Top 90% exploitable
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy