NocoDB SQL injection (CVE-2026-130689)
NocoDB versions before 2026.10.0 allow authenticated users with the Creator role to perform SQL injection during table creation by supplying a malicious formula parsed_tree, leading to unauthorized data access and privilege escalation on SQLite-backed instances.
CVE search metadata
CVE search record: CVE-2026-130689. Severity: high. CVSS: 8.8. KEV: no. Product: NocoDB. Brief: NocoDB SQL injection (CVE-2026-130689). Brief link: https://feed.craftedsignal.io/briefs/2026-11-nocodb-sql-injection-cve-2026-130689/
Triage facts
Revision 1- Applicability
- NocoDB
- Evidence
- Unknown
- Severity
- High
- Action
- Immediate escalation
- Sources
- 2 public sources
- Freshness
- Revision 1Nov 18, 14:35 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- A1
Overview
NocoDB versions prior to 2026.10.0 are affected by an SQL injection vulnerability. Authenticated users assigned the Creator role can supply a crafted formula parsed_tree during the table creation process. This input contains a malicious binary-expression operator that is improperly interpolated into a knex.raw fragment within the application, resulting in potential unauthorized access to sensitive data such as user and token tables. On SQLite-backed instances, this flaw can be leveraged for privilege escalation to the super administrator level.
Attack Chain
- Attacker authenticates as a user with the Creator role.
- Attacker initiates a table creation request.
- Attacker injects a crafted formula parsed_tree containing a malicious binary-expression operator into the request.
- Application processes the malicious operator using an insecurely constructed knex.raw fragment.
- SQL injection is executed against the database, allowing unauthorized access to internal tables.
- Attacker retrieves user credentials or token information to perform privilege escalation on SQLite instances.
Impact
Successful exploitation allows authenticated users with limited privileges (Creator role) to read sensitive database content, including user and token tables, and escalate privileges to become a super administrator on instances utilizing SQLite.
Recommendation
- Upgrade NocoDB to version 2026.10.0 or later immediately to remediate the vulnerability.
Threat Hunt
Identify API requests to the table creation endpoint containing 'parsed_tree' fields with complex 'binary-expression' operator structures.
Data: Web application access logs, API request audit logs, Application telemetry for table creation events
Monitor database queries originating from NocoDB application service accounts that reference 'user' or 'token' tables, specifically those generated via dynamic SQL or 'knex.raw' fragments.
Data: Database query logs, Application-to-database connection logs
Mitigations
Upgrade NocoDB to version 2026.10.0 or later
Gaps
- No specific log-observable patterns provided for detection rules; rely on application-level audit logging for table creation activity.