Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as Creator/Owner on a base
-
DeliveryBypass SQLite metadata path guard via kernel-resolved alias
-
ExploitPersist crafted formula parsed_tree the validator never produced
-
ExecutionBuilder reuses tree, injects function name into knex.raw
-
PersistExecute OS commands on PostgreSQL host or rewrite user table
-
ImpactEscalate to instance super administrator / RCE
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 | Requires an authenticated account with the Creator or Owner role on a base (PR:H) - this is the primary limiting factor and excludes anonymous or base-viewer attackers. The remote-code-execution outcome additionally requires the base to be connected to an EXTERNAL PostgreSQL source whose database role is permitted to run server programs; managed PostgreSQL offerings that forbid program execution reduce the external-source impact to reading and modifying data on the connected database only. The super-administrator-escalation outcome applies to the default single-container deployment whose NocoDB metadata lives in a SQLite file, and depends on the metadata-path guard that compared only normalized path strings, which a kernel-resolved filesystem alias defeats. No user interaction is required (UI:N) and attack complexity is low once the role is held (AC:L). |
| Impact | This is a genuine high priority, not an inflated CVSS score. The vendor-assigned CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N) with full vulnerable- and subsequent-system impact (VC/VI/VA/SC/SI/SA all High) is internally consistent with the advisory: an authenticated Creator/Owner (PR:H) reaches raw SQL with no attack requirements, and on an external PostgreSQL source whose role may run server programs this reaches OS command execution on the database host - a true scope change, which justifies the subsequent-system metrics. The vuln.today Decision label is act_now, and the issue was reported by VulnCheck, both of which reinforce urgency. However, signals are mixed on exploitation breadth: there is no CISA KEV listing and no EPSS score in the supplied data, and no public exploit is shown, so there is currently no evidence of active exploitation or weaponization - the urgency rests on the act_now decision label and the severity of the technical impact, not on observed in-the-wild use. The main gating factor keeping this from mass exploitation is PR:H: an attacker must already hold a Creator or Owner role on a base. One data discrepancy must be verified: the CVE Description says 'NocoDB before 2026.09.0' while the GHSA advisory states vulnerable '< 2026.10.0' and fixed in 2026.10.0 - resolve the exact fixed version with the vendor advisory before remediation. |
| Exploit ScenarioDerived | An attacker who already holds a Creator or Owner role on a base crafts a formula column and persists a malicious parsed_tree whose call-expression function name the save-time validator never produced; because the query builder reuses the stored tree without revalidating it, the chosen function name is interpolated directly into a knex.raw SQL fragment. Where the base is connected to an external PostgreSQL server whose role can run server programs, the injected SQL executes operating-system commands on the database host; on a default single-container SQLite install, the same primitive rewrites the attacker's own account to instance super administrator and reads every password hash, API token, and stored data-source credential. No public exploit is shown in the available data, though the issue is fully detailed in the vendor advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
SQL injection in NocoDB's formula query builder lets an authenticated Creator or Owner user persist a crafted parsed_tree and reach raw SQL when the stored tree is reused without revalidation, escalating to instance super administrator on default single-container SQLite metadata installs and to OS command execution on external PostgreSQL hosts whose role can run server programs. The supplied CVSS 4.0 vector is 9.4 with PR:H, matching the requirement for a base-scoped Creator/Owner account; managed PostgreSQL services that forbid program execution limit the external-source branch to reading and modifying the connected database. No public exploit code was identified at time of analysis and no KEV confirmation is present in the supplied data, but the vendor GHSA describes a complete escalation chain and the priority label is act_now.
RemediationAI
Vendor-released patch: NocoDB 2026.10.0, as listed in the supplied package/source evidence; confirm the affected range against GHSA-frqc-xh5h-rrcw because the CVE description's 'before 2026.09.0' wording conflicts with the < 2026.10.0 / fixed 2026.10.0 data. The advisory describes the code-level fix: reused parsed_tree function names are re-checked against the allow-list before the builder runs, and the SQLite metadata path guard canonicalizes the real filesystem target before comparison. No standalone workaround is provided in the supplied data; the advisory notes that managed PostgreSQL offerings forbidding program execution limit the external-source case to reading and modifying the connected database, but that does not address the SQLite metadata super-administrator escalation on default single-container installs. Given the act_now priority and the complete escalation chain described, treat the upgrade as urgent.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
NocoDB stores formula definitions as a parsed_tree and uses parsed-tree-builder.ts to turn call-expression function names into SQL via a knex.raw fragment. The save-time validator that rejects unknown function names runs only when a formula is created or updated; if a stored tree is present, the builder reuses it without revalidating, so a tree that the validator never produced can carry an arbitrary function name into the raw SQL sink. Persisting that tree depends on a SQLite metadata-path guard that compared only normalized path strings: a kernel-resolved filesystem alias can open NocoDB's real metadata file while comparing unequal, allowing direct writes to the attached metadata database. The root cause is CWE-89 (SQL injection). The supplied vector is CVSS 4.0 AV:N/AC:L/AT:N/PR:H/UI:N with high vulnerable-system and subsequent-system confidentiality, integrity and availability impacts; PR:H reflects the Creator/Owner prerequisite. On external PostgreSQL sources whose role may run server programs, the injected SQL can execute OS commands on the database host; managed PostgreSQL offerings that forbid program execution limit the external-source case to reading and modifying the connected database. On the default single-container SQLite metadata deployment, the same primitive can read every user record, password hash, API token and stored data-source credential and rewrite the attacker's account to super administrator.
Know when Nocodb gets its next vulnerability
- 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:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Authenticated Creator/Owner (PR:H) exploits remotely with no user interaction; injection crosses into the external DB host / instance authority (S:C) with full confidentiality, integrity, and availability loss.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
NocoDB before 2026.09.0 contains an sql injection vulnerability that allows authenticated Creator or Owner users to inject raw SQL by persisting a crafted formula parsed_tree reused without revalidation. Attackers can bypass the SQLite metadata path guard with an alias to plant the tree, escalating to super administrator or executing OS commands on external PostgreSQL hosts.
Articles & Coverage 2
Technical POC Analysis
CWE-89: SQL injection.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-130706 is a critical SQL injection in NocoDB's formula query builder that allows an authenticated Creator or Owner to escalate to instance super administrator on default SQLite installs, or to OS command execution on external PostgreSQL hosts. Leadership should prioritize remediation because a compromised or malicious low-privilege account could lead to full control of the NocoDB instance and potentially the underlying host, impacting data confidentiality, integrity, and availability.
No vendor-released patch identified at time of analysis; interim mitigations include restricting Creator/Owner roles to trusted users, disabling formula query builder functionality if possible, limiting PostgreSQL role permissions to prevent program execution, and monitoring for anomalous SQL activity.
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.
NocoDB spreadsheet platform prior to 0.301.0 has a stored XSS vulnerability (CVSS 9.0) that enables code execution throu
Insufficient Session Expiration in GitHub repository nocodb/nocodb prior to 0.91.7+. Rated high severity (CVSS 8.8), thi
Improper Privilege Management in GitHub repository nocodb/nocodb prior to 0.91.7+. Rated high severity (CVSS 8.8), this
NocoDB through 0.106.0 (or 0.109.1) has a path traversal vulnerability that allows an unauthenticated attacker to access
With this SSRF vulnerability, an attacker can reach internal addresses to make a request as the server and read it's con
Generation of Error Message Containing Sensitive Information in GitHub repository nocodb/nocodb prior to 0.91.7+. Rated
Improper Input Validation in GitHub repository nocodb/nocodb prior to 0.96.0. Rated medium severity (CVSS 6.5), this vul
Allocation of Resources Without Limits or Throttling in GitHub repository nocodb/nocodb prior to 0.92.0. Rated medium se
NocoDB versions prior to 0.301.0 contain an open redirect vulnerability in the login flow where the `continueAfterSignIn
NocoDB is software for building databases as spreadsheets. Rated medium severity (CVSS 5.4), this vulnerability is remot
Cross-site Scripting (XSS) - Stored in GitHub repository nocodb/nocodb prior to 0.91.7+. Rated medium severity (CVSS 5.4
Cross-site Scripting (XSS) - Stored in GitHub repository nocodb/nocodb prior to 0.91.7. Rated medium severity (CVSS 5.4)
EUVD-2026-128779
GHSA-jvp3-5gg6-42c4
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB