Skip to main content

NocoDB EUVDEUVD-2026-128768

| CVE-2026-130694 HIGH
SQL Injection (CWE-89)
2026-11-18 VulnCheck GHSA-9gfr-57j5-xxq3
7.0
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with Creator role on MySQL-backed base
  2. Delivery
    Edit formula field using DATETIME_FORMAT
  3. Exploit
    Insert backslash before quote to break out of string literal
  4. Execution
    Append SQL compiled into DATE_FORMAT pattern
  5. Persist
    Field evaluation runs injected SQL as DB user
  6. Impact
    Read tables outside the base

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 holding the NocoDB Creator role (or higher) with the ability to add or edit formula fields on a base whose data source is MySQL or MariaDB. The injection is specific to the DATETIME_FORMAT formula function's format argument, which reaches the MySQL DATE_FORMAT handler. Exploitation is LIMITED by several factors: the Creator privilege gate (PR:H); the database engine must be MySQL/MariaDB - PostgreSQL and SQLite bases are not affected; and MySQL servers configured with the NO_BACKSLASH_ESCAPES sql_mode are not vulnerable because backslash escaping is disabled. The injected SQL executes with the privileges of the data source's configured database user, so reachable data is bounded by that user's grants.

Impact

This is a genuine but bounded risk, best characterized as a privileged-insider / post-compromise escalation path rather than a mass-exploitable perimeter flaw. The provided CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N/VC:H) scores 7.0 (High): network-reachable and low-complexity, but gated behind PR:H - per the advisory this means an account holding the Creator role on a MySQL/MariaDB-backed base, which is a trusted application role, not an anonymous attacker. That single privilege requirement is the dominant risk-limiting signal: the attacker must already be able to add or edit formula fields. KEV status is not present in the input, so this is not confirmed actively exploited; no EPSS score was supplied, so exploitation probability cannot be quantified; and the references contain only the GHSA advisory with no PoC or exploit reference, so no public exploit identified at time of analysis. The vuln.today decision label is 'this_week' (not act_now/emergency), consistent with a real-but-not-urgent priority. The signals are internally consistent - there is no CVSS-vs-description conflict here: the description's 'users with Creator role' requirement matches PR:H. The main caveat is missing EPSS and KEV data, which leaves widespread-exploitation likelihood unquantified; given the privilege gate and single-DB-engine scope, targeted abuse by a semi-trusted user is the realistic threat model, not opportunistic internet scanning.

Exploit ScenarioDerived

A user who has been granted the Creator role on a NocoDB base whose data source is MySQL or MariaDB creates or edits a formula field using DATETIME_FORMAT with a crafted format argument. By placing a backslash before a quote, they cancel NocoDB's quote-doubling and terminate the DATE_FORMAT string literal early, so the remainder of their format string is compiled as SQL and executed as the data source's database user whenever the field is evaluated - reading data from tables outside the base. No public exploit code is identified at time of analysis, though the advisory describes the exact backslash-before-quote technique.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 18, 2026

SQL injection in NocoDB versions 2026.07.0 through 2026.9.x (fixed in 2026.10.0) lets a user holding the Creator role break out of a MySQL string literal through the DATETIME_FORMAT formula's format argument, because backslashes were not escaped before the pattern was quoted into a DATE_FORMAT call. The injected SQL runs with the privileges of the base's configured data source user whenever the formula field is evaluated, including on ordinary reads of its table, so an attacker can read tables outside the base - confidentiality impact is high, with a limited availability cost from expensive queries. Exploitation requires an authenticated Creator-level account and a MySQL/MariaDB-backed base (PostgreSQL and SQLite bases are not affected, and MySQL servers running NO_BACKSLASH_ESCAPES are not vulnerable); no public exploit code has been identified at time of analysis and the issue is not in CISA KEV, which is consistent with a bounded, privileged-insider risk rather than a perimeter flaw.

RemediationAI

Vendor-released patch: upgrade NocoDB to 2026.10.0 or later, which escapes backslashes in the format's literal text before the pattern is quoted; the advisory at https://github.com/nocodb/nocodb/security/advisories/GHSA-2ggp-wwhj-f84q is the authoritative reference and the vendor's complete fix. Where immediate upgrade is not possible, reduce exposure by confirming which bases are MySQL/MariaDB-backed, since PostgreSQL and SQLite bases are unaffected, and by tightening who can add or edit formula fields, because the injection requires an account with that capability (the Creator role grants it). Running affected MySQL data sources with the NO_BACKSLASH_ESCAPES sql_mode removes the vector per the advisory, but that is a server-wide change that alters backslash handling for all application SQL and should be validated against existing queries first. Additionally, constrain the grants of each base's configured data source user to only the schemas it legitimately needs, which caps what injected statements can reach but does not remove the injection itself.

Affected VersionsENISA

nocodb 2026.07.0 <2026.10.0

Affected Packages

euvd nocodb fix: 2026.10.0

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

The flaw is CWE-89 SQL injection arising from incorrect string-literal escaping in a database abstraction layer. NocoDB compiles its formula language to engine-specific SQL; on MySQL, the DATETIME_FORMAT mapping in functionMappings/mysql.ts delegates to datetime-format.mysql.handler.ts, which translates the user-supplied format into a DATE_FORMAT pattern and embeds that pattern as a quoted string inside raw SQL. Validation in extractDatetimeFormat (commonFns.ts) only enforces that the format is a constant string; the handler escaped percent signs in literal text and doubled single quotes but left backslashes untouched. Under MySQL's default sql_mode a backslash escapes the following character, so a backslash placed before a quote cancels the doubling, terminates the literal early, and the remainder of the format is compiled as part of the statement. The statement executes as the data source's database user each time the field is evaluated, so reachable data is bounded by that user's grants. The PostgreSQL and SQLite handlers are unaffected, and MySQL servers configured with NO_BACKSLASH_ESCAPES are not exploitable because backslash escaping is disabled there.

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

Vendor (VulnCheck) PRIMARY 7.0 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 5.5 MEDIUM

Network-reachable low-complexity injection but gated by the privileged Creator role (PR:H); high confidentiality from reading arbitrary reachable tables, no integrity impact described, low availability from expensive queries.

3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 18, 2026 - 13:02 EUVD
CVE Published
Nov 18, 2026 - 11:33 cve.org
HIGH 7.0

DescriptionCVE.org

NocoDB from 2026.07.0 before 2026.10.0 contains an sql injection vulnerability that allows users with Creator role to inject SQL through unescaped backslashes in the DATETIME_FORMAT formula format argument on MySQL-backed bases. Attackers can place a backslash before a quote to terminate the DATE_FORMAT string literal and read any data reachable by the data source's database user, including tables outside the base.

Technical POC Analysis

CWE-89 (SQL injection), specifically a string-literal escape mismatch: the code escapes quotes but not the escape character itself.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity SQL injection vulnerability in NocoDB (versions 2026.07.0 through 2026.9.x) allows authenticated Creator-level users to read database tables outside their permitted base when using MySQL/MariaDB. This poses a data confidentiality risk from privileged insiders, potentially exposing sensitive information.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; interim mitigations include migrating to PostgreSQL or SQLite, enabling NO_BACKSLASH_ESCAPES on MySQL servers, restricting Creator role assignments, and enforcing least privilege on the data source user.

Threat Intelligence Overview

EPSS Score
0.4%
Top 70% exploitable
Prevalence
Medium
popular open-source Airtable-style no-code platform, common but not ubiquitous
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

More in Nocodb

View all
CVE-2026-24769 CRITICAL POC
9.0 Jan 28

NocoDB spreadsheet platform prior to 0.301.0 has a stored XSS vulnerability (CVSS 9.0) that enables code execution throu

CVE-2022-2064 HIGH POC
8.8 Jun 13

Insufficient Session Expiration in GitHub repository nocodb/nocodb prior to 0.91.7+. Rated high severity (CVSS 8.8), thi

CVE-2022-2063 HIGH POC
8.8 Jun 13

Improper Privilege Management in GitHub repository nocodb/nocodb prior to 0.91.7+. Rated high severity (CVSS 8.8), this

CVE-2023-35843 HIGH POC
7.5 Jun 19

NocoDB through 0.106.0 (or 0.109.1) has a path traversal vulnerability that allows an unauthenticated attacker to access

CVE-2022-2339 HIGH POC
7.5 Jul 07

With this SSRF vulnerability, an attacker can reach internal addresses to make a request as the server and read it's con

CVE-2022-2062 HIGH POC
7.5 Jun 13

Generation of Error Message Containing Sensitive Information in GitHub repository nocodb/nocodb prior to 0.91.7+. Rated

CVE-2023-5104 MEDIUM POC
6.5 Sep 21

Improper Input Validation in GitHub repository nocodb/nocodb prior to 0.96.0. Rated medium severity (CVSS 6.5), this vul

CVE-2022-3423 MEDIUM POC
6.5 Oct 07

Allocation of Resources Without Limits or Throttling in GitHub repository nocodb/nocodb prior to 0.92.0. Rated medium se

CVE-2026-24768 MEDIUM POC
6.1 Jan 28

NocoDB versions prior to 0.301.0 contain an open redirect vulnerability in the login flow where the `continueAfterSignIn

CVE-2025-27506 MEDIUM POC
5.4 Mar 06

NocoDB is software for building databases as spreadsheets. Rated medium severity (CVSS 5.4), this vulnerability is remot

CVE-2026-130706 CRITICAL
9.4 Nov 18

SQL injection in NocoDB's formula query builder lets an authenticated Creator or Owner user persist a crafted parsed_tre

CVE-2022-2079 MEDIUM POC
5.4 Jun 14

Cross-site Scripting (XSS) - Stored in GitHub repository nocodb/nocodb prior to 0.91.7+. Rated medium severity (CVSS 5.4

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy