CVE-2026-130694

NocoDB 2026.07.0 before 2026.10.0 SQL Injection via DATETIME_FORMAT Formula

Published Nov 18, 2026 CVSS 4.0 · 7 High EPSS n/a KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability is an SQL injection flaw in NocoDB that allows a user with the Creator role to escape the DATETIME_FORMAT formula string by inserting a backslash before a quote. This manipulation terminates the string literal so that the database engine interprets the rest of the input as part of the query, giving the attacker the ability to read any data accessible to the database user, including tables outside the intended base. The weakness is a classic SQL injection flaw, identified as CWE‑89, and the primary consequence is unauthorized data disclosure.

Affected Systems

NocoDB. Versions 2026.07.0 through 2026.09.99 are affected. Upgrading to 2026.10.0 or later resolves the flaw. The issue applies only to installations that use a MySQL backend and expose the DATETIME_FORMAT formula to users with Creator privileges.

Risk and Exploitability

The CVSS score of 7 indicates a medium to high severity vulnerability. No EPSS value is available, and the vulnerability is not listed in the CISA KEV catalog, suggesting that no public exploits have been confirmed yet. The most probable attack vector is via the web application interface where a legitimate Creator can enter or modify a DATETIME_FORMAT formula. An attacker would need the ability to interact with the application as a Creator; therefore the threat is primarily internal or requires compromised credentials. The absence of a known public exploit and the lack of an EPSS estimate imply that while the flaw could be dangerous, the likelihood of immediate exploitation may be moderate, but patching remains critical to eliminate the risk for both defensive and defensive exposure.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade NocoDB to version 2026.10.0 or later.
  • Restrict or temporarily revoke the Creator role from untrusted users, or remove the ability to use the DATETIME_FORMAT formula until a patch is applied.
  • Monitor application logs for anomalous DATETIME_FORMAT usage and review any requests containing backslash characters to detect potential exploitation attempts.

Generated by OpenCVE AI on November 18, 2026 at 19:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title NocoDB 2026.07.0 before 2026.10.0 SQL Injection via DATETIME_FORMAT Formula
First Time appeared Nocodb
Nocodb nocodb
Weaknesses CWE-89
CPEs cpe:2.3:a:nocodb:nocodb:*:*:*:*:*:*:*:*
Vendors & Products Nocodb
Nocodb nocodb
References
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:L'}

cvssV4_0

{'score': 7, 'vector': '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'}

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 18, 2026, 1:37 PM
Reserved
Nov 17, 2026, 3:37 PM
Status
Received
Published
Nov 18, 2026, 12:17 PM
Modified
Nov 18, 2026, 2:17 PM