NocoDB: SQL injection vulnerability (CVE-2026-130706)
NocoDB versions prior to 2026.09.0 contain an SQL injection vulnerability that allows authenticated Creator or Owner users to execute arbitrary commands or escalate privileges via crafted formula persistence.
CVE search metadata
CVE search record: CVE-2026-130706. Severity: critical. CVSS: 9.1. KEV: no. Product: NocoDB. Brief: NocoDB: SQL injection vulnerability (CVE-2026-130706). Brief link: https://feed.craftedsignal.io/briefs/2026-11-nocodb-sql-injection-cve-2026-130706/
Triage facts
Revision 1- Applicability
- NocoDB
- Evidence
- Unknown
- Severity
- Critical
- Action
- Immediate escalation
- Sources
- 2 public sources
- Freshness
- Revision 1Nov 18, 14:08 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- A1Very likely
Overview
NocoDB versions prior to 2026.09.0 are affected by an SQL injection vulnerability (CVE-2026-130706). An authenticated user with Creator or Owner privileges can inject raw SQL by persisting a crafted 'parsed_tree' for a formula, which the application subsequently reuses without revalidation. By bypassing the SQLite metadata path guard, an attacker can achieve privilege escalation to super administrator or execute OS commands on external PostgreSQL hosts connected to the NocoDB instance.
Attack Chain
- Attacker authenticates to NocoDB with Creator or Owner privileges.
- Attacker creates or modifies a formula, embedding a malicious 'parsed_tree'.
- The application persists the crafted 'parsed_tree' without validation.
- Attacker uses an alias to bypass the SQLite metadata path guard during subsequent interactions.
- The application reuses the unvalidated 'parsed_tree' within SQL operations.
- Malicious SQL is executed, resulting in privilege escalation or OS command execution on connected PostgreSQL database hosts.
Impact
Successful exploitation allows an authenticated user to achieve full administrative control over the application or execute arbitrary OS commands on the backend database server. This represents a critical risk to data integrity, confidentiality, and host-level security.
Recommendation
- Upgrade NocoDB to version 2026.09.0 or later immediately to patch the vulnerable formula processing logic.
- Audit existing formulas and metadata entries for signs of tampering if immediate patching is not feasible.
- Restrict 'Creator' and 'Owner' roles to highly trusted users to reduce the potential attack surface.
Immediate actions
Upgrade NocoDB to version 2026.09.0 or later.
Threat Hunt
Monitor administrative audit logs for unusual modification of formula objects or metadata properties by accounts with Creator/Owner privileges.
Data: NocoDB Application Audit Logs