CVE-2026-130694: NocoDB 2026.07.0 before 2026.10.0 SQL Injection via DATETIME_FORMAT Formula
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 DATETIMEFORMAT formula format argument on MySQL-backed bases. Attackers can place a backslash before a quote to terminate the DATEFORMAT string literal and read any data reachable by the data source's database user, including tables outside the base.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
NocoDB deployments running versions from 2026.07.0 before 2026.10.0 are affected when a base uses MySQL and a user has the Creator role. The potential exposure includes any tables the MySQL database account used by that data source can read, including tables outside the affected base.
What does an attacker need to exploit it?
An attacker needs Creator-role access to the affected NocoDB base and must be able to supply a DATETIME_FORMAT formula format argument. No user interaction is required.
What data could be exposed?
The issue can be used to read data accessible to the data source's MySQL database user. This may include data in tables outside the NocoDB base if that database user has access to them.
How can I reduce risk if I cannot update immediately?
Restrict Creator-role access on MySQL-backed bases and review the MySQL privileges assigned to NocoDB data source accounts. Limiting those accounts to only the required database objects reduces the data available through exploitation.