Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as base creator or owner
-
DeliveryCraft select-field option title ending in backslash
-
ExploitBackslash escapes closing quote in enum/set DDL
-
ExecutionAppend ALTER TABLE clauses, bypassing sqlSanitize validator
-
ImpactAlter columns/indexes on connected MySQL/MariaDB database
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) a NocoDB source connected to a MySQL or MariaDB database - PostgreSQL and SQLite sources are explicitly not affected; (2) the attacker holding base creator or owner privileges (schema-edit rights) on that base; and (3) MySQL running under its default sql_mode where a backslash escapes the following character. The concrete trigger is a select-field option title ending in a backslash, which escapes the closing single quote during enum/set column-definition generation so appended text is parsed as ALTER TABLE syntax; the same unsafe list-building path is reachable via the CSV type detector, the Airtable import processor, and the v3 tables service. Limiting factors: no anonymous access (PR:L - authenticated, privileged user needed), no effect on PostgreSQL/SQLite deployments, and impact confined to tables the compromised base can write to in the connected external database. The only complete fix stated by the vendor is upgrading to 2026.10.1, which doubles backslashes before the option list is placed in the column definition. |
| Impact | This is a genuine but bounded risk, best characterized as medium-urgency (vuln.today Decision label: this_week), not an emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) shows network-reachable, low-complexity exploitation, but PR:L is decisive: the attacker must already be a base creator or owner with schema-edit rights, so this is a privileged-insider or compromised-account path rather than anonymous internet exploitation. Impact is skewed toward integrity and availability (VI:H/VA:H) with only limited confidentiality (VC:L), consistent with an ALTER TABLE primitive that can add, drop, rename columns and alter indexes on the connected MySQL/MariaDB database but cannot directly read arbitrary data (the advisory notes generated columns could widen it toward reading, but the injection itself does not return data). No CISA KEV listing and no EPSS score were provided, and the only reference is the vendor GHSA advisory with no proof-of-concept link, so there is no evidence of active or at-scale exploitation. Net: a legitimately high-severity DDL-injection flaw whose real-world priority is tempered by the required schema-edit privilege and the MySQL/MariaDB-only precondition - prioritize patching for exposed multi-tenant NocoDB deployments where base creators/owners are not fully trusted. |
| Exploit ScenarioDerived | A base creator or owner on a NocoDB instance backed by a MySQL or MariaDB source creates or edits a select-field option whose title ends in a backslash, causing the backslash to escape the closing quote so the trailing text is parsed as additional ALTER TABLE syntax. Under MySQL's default sql_mode this bypasses the quote-doubling validator (the fix for GHSA-xj66-9p6m-wr56), letting the attacker add, drop or rename columns and alter indexes on any table that base can write to in the connected database - including tables NocoDB does not expose. No public exploit code or PoC reference was identified in the provided sources. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
SQL injection in NocoDB before 2026.10.1 lets a base creator or owner on a MySQL or MariaDB source break out of the generated enum/set column definition and append arbitrary ALTER TABLE clauses, allowing columns to be added, dropped or renamed, indexes altered, and generated columns defined against tables in the connected external database. The flaw sits in the column type-parameter builder (CWE-89, with a CWE-116 encoding root cause) that doubles single quotes but leaves backslashes intact, so an option title ending in a backslash escapes the closing literal under MySQL's default sql_mode; the same list-building path is reached through the CSV type detector, the Airtable import processor and the v3 tables service. Exploitation is authenticated and privileged (base creator/owner, PR:L) and only affects MySQL/MariaDB sources - PostgreSQL and SQLite sources are explicitly unaffected. No public exploit code and no confirmed active exploitation were identified at time of analysis; vuln.today rates the item as this_week, and impact is confined to what the compromised base can write to.
RemediationAI
Upgrade to NocoDB 2026.10.1, which is the only complete fix stated by the vendor: it doubles backslashes inside select-field option literals before the option list is placed into a MySQL or MariaDB enum/set column definition, so each title stays inside its literal and cannot escape into ALTER TABLE syntax (advisory: https://github.com/nocodb/nocodb/security/advisories/GHSA-fx53-qf4h-cx38). Until the upgrade is applied, treat base creator and owner roles on MySQL/MariaDB-backed bases as schema-write-capable against the connected external database: restrict who can hold those roles and audit existing select-field option titles for trailing backslashes on MySQL/MariaDB sources. Deployments using only PostgreSQL or SQLite sources are explicitly not affected by this issue. Note that any database account used by such a source retains whatever ALTER privileges NocoDB itself holds, so trimming those grants limits the blast radius at the cost of breaking legitimate schema-editing features.
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 translates select-field option titles into MySQL/MariaDB enum or set column definitions, producing a DDL statement that embeds the option list as SQL string literals. The shared validator in sqlSanitize.ts models string literals as quote-doubling only, which is correct for PostgreSQL, SQLite and SQL Server but wrong for MySQL under its default sql_mode, where a backslash escapes the following character. Because titles are joined with ' replaced by '' while backslashes are left intact, a title ending in \ escapes the terminating quote and the remainder of the title is parsed as ALTER TABLE syntax; MysqlClient.ts then interpolates the validated value straight into the DDL. The enum-list validation branch that is bypassed here was itself introduced as the fix for GHSA-xj66-9p6m-wr56, so this is a bypass of an existing control rather than an unrelated defect. The fix doubles backslashes inside option literals before the list is placed into a MySQL/MariaDB column definition, keeping each title inside its literal. CWE-89 covers the injection, CWE-116 the improper neutralization of the backslash metacharacter; the concrete trigger is a select-field option title ending in a backslash, and the same unsafe list construction is reachable via the CSV type detector, the Airtable import processor and the v3 tables service.
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:L/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable low-complexity injection, but requires base creator/owner schema-edit rights (PR:L); DDL tampering gives high integrity/availability impact and only limited confidentiality (C:L).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
NocoDB before 2026.10.1 contains an SQL injection vulnerability because select-field option titles are embedded into MySQL or MariaDB enum/set column definitions with only single-quote doubling, leaving backslashes unescaped. A base creator or owner can end an option title with a backslash to escape the literal and append ALTER TABLE clauses, adding, dropping or renaming columns and altering indexes in the connected database.
Articles & Coverage 1
Technical POC Analysis
NocoDB's MySQL/MariaDB DDL path is SQL injection (CWE-89) rooted in improper output encoding (CWE-116).
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-130701 is a high-severity SQL injection vulnerability in NocoDB that allows an authenticated base creator or owner to execute arbitrary ALTER TABLE statements against connected MySQL or MariaDB databases, potentially compromising data integrity and schema stability. This affects organizations using NocoDB with MySQL/MariaDB sources, particularly those with multiple base creators or owners who may have excessive privileges. Leadership should prioritize patching once available and enforce least privilege to mitigate risk.
No vendor-released patch identified at time of analysis. Interim mitigations include restricting base creator/owner roles to trusted users, monitoring database logs for unauthorized schema changes, and migrating to unaffected database sources (PostgreSQL or SQLite) where feasible.
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-128773
GHSA-fhm6-cwcq-w9mh
NVD
CVE.org
EPSS
Exploit-DB