Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessRegister or log in as base member
-
DeliverySet email with quoted single-quote payload
-
ExploitTrigger user-field resolution query
-
ExecutionBreak out of SQL string literal
-
PersistExecute arbitrary SQL on metadata store
-
ImpactExfiltrate user records, API tokens, credentials
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 a registered NocoDB account on an instance before version 2026.06.2; the attacker needs only the standard ability to set or change their own account email - no elevated role, no victim user interaction, and no non-default configuration. The injection triggers specifically on queries that resolve user, created-by, or last-modified-by fields, so a base must contain such fields being read (by the attacker or any other member). Impact is most severe for bases held in NocoDB's internal database, because that database is also the metadata store containing all users, API tokens, and data-source credentials; bases on external data sources would expose that source instead. Limiting factors: a valid registered account is mandatory (not fully anonymous), and the email-validator behavior accepting a quoted local part with a single quote is the precise prerequisite the fix removes. |
| Impact | This is a genuinely high-priority flaw, not a CVSS-inflated one. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) describes a network-reachable, low-complexity injection requiring only low privileges - satisfied by any registered account, since the attacker supplies the payload as their own email at signup or profile update. The CWE-89 SQL injection reaches NocoDB's internal metadata database, which the advisory confirms holds every user record, API token, and saved data-source credential, giving full VC:H/VI:H/VA:H impact and explaining the 8.7 score. The vuln.today priority label is 'this_week' and the patch is already available from the vendor, so this is an act-promptly issue rather than an emergency. Key signals are MISSING and should temper any 'under attack' framing: there is no KEV listing (status: not actively exploited per available data), no EPSS score was provided, and no verified public exploit code is present - only vendor/VulnCheck advisories. The low-privilege-but-self-service nature (the attacker controls their own email) meaningfully lowers the practical barrier versus a typical PR:L flaw, since no victim interaction or elevated role is needed; the payload also executes when other base members resolve user/created-by/last-modified-by fields, widening blast radius. |
| Exploit ScenarioDerived | A registered NocoDB user updates their profile email to an address whose quoted local part contains a single quote, breaking out of the string literal and appending arbitrary SQL. When the application resolves user, created-by, or last-modified-by fields - on the attacker's own reads or any other base member's reads - the injected SQL executes against the metadata store, dumping user records, API tokens, and data-source credentials. No public exploit code is identified at time of analysis, but the technique is fully described in the vendor advisory and requires only a low-privilege account. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
SQL injection in NocoDB before 2026.06.2 allows any authenticated registered user to execute arbitrary SQL by setting their account email to a quoted local part containing a single quote, because base member emails are concatenated into query text rather than bound as parameters. The flaw triggers on reads that resolve user, created-by, or last-modified-by fields, exposing user records, API tokens, and data-source credentials, with the most severe impact on bases stored in NocoDB's internal metadata database. No public exploit code is identified in the available data; exploitation requires a valid account on an affected instance, and patching should be prioritized this week.
RemediationAI
Vendor-released patch: upgrade to NocoDB 2026.06.2 or later, which is the fixed version listed in the GitHub Security Advisory GHSA-8qgc-rxmx-p7cw and in the VulnCheck advisory. The fix removes the concatenation of member emails into the CTE SQL text and addresses the email-validator behavior that accepts a quoted local part containing a single quote; updating is the complete remediation identified in the available sources. Review the advisories at https://github.com/nocodb/nocodb/security/advisories/GHSA-8qgc-rxmx-p7cw and https://www.vulncheck.com/advisories/nocodb-before-2026.06.2-sql-injection-via-user-email-in-base-user-query for vendor details.
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 is a no-code database platform that uses a common table expression (CTE) to map base members to their email addresses. In base-user.cte.utils.ts, the expression emitted one SELECT ... UNION ALL row per base member, writing the member id and email directly into the SQL statement string instead of using bind parameters. The email address validator accepted a quoted local part containing a single quote, so a crafted email could terminate the string literal and have the remainder parsed as part of the surrounding query. The expression is built for any query that must resolve user, created-by, or last-modified-by fields, so the injected SQL executes on reads performed by the attacker and by other members of the base. This is CWE-89 (SQL Injection); the CVSS 4.0 vector is AV:N/AC:L/AT:N/PR:L/UI:N with high confidentiality, integrity, and availability impact to the vulnerable system, and the affected CPE is cpe:2.3:a:nocodb:nocodb:*:*:*:*:*:*:*:* for versions before 2026.06.2.
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:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Any registered user can inject via their own email over the network with low complexity (PR:L, AC:L, UI:N); arbitrary SQL against the metadata store yields full C/I/A impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
NocoDB before 2026.06.2 contains an SQL injection vulnerability in base-user.cte.utils.ts, which concatenates base members' email addresses into the SQL text of queries resolving user, created-by or last-modified-by fields. Registered users can set an email with a quoted local part containing a single quote to execute arbitrary SQL, exposing user records, API tokens and data-source credentials.
Technical POC Analysis
CWE-89 (SQL injection), string-concatenation variant.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
NocoDB, a widely used open-source database platform, contains a SQL injection flaw (CVE-2026-126291) that any authenticated user can exploit to read sensitive data including API tokens and data-source credentials. This affects all organizations running NocoDB versions before 2026.06.2, enabling insider threats or compromised accounts to escalate access and potentially breach connected systems.
Apply vendor patch.
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
SQL injection in NocoDB's formula query builder lets an authenticated Creator or Owner user persist a crafted parsed_tre
Cross-site Scripting (XSS) - Stored in GitHub repository nocodb/nocodb prior to 0.91.7+. Rated medium severity (CVSS 5.4
EUVD-2026-125230
GHSA-g94q-3gw8-47w2
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB