Loading advisory.
Loading advisory.
NocoDB Vulnerable to SQL Injection via DATEADD Formula
An authenticated user with Creator role can inject arbitrary SQL via the DATEADD formula's unit parameter.
Published 2026-03-02 16:19 UTC · Modified 2026-11-05 22:45 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| nocodb | npm | < 0.301.3 | 0.301.3 | npm install nocodb@0.301.3 |
An authenticated user with Creator role can inject arbitrary SQL via the DATEADD formula's unit parameter.
The third argument (unit) of DATEADD was interpolated directly into knex.raw() queries after only stripping quote characters. Validation in formulas.ts only checked Literal AST node types — non-Literal types bypassed validation entirely. Affected MySQL, PostgreSQL, and SQLite function mappings.
SQL injection allowing data exfiltration or modification, scoped to the connected database.
This issue was reported by @q1uf3ng.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.004 on 2026-11-24 to 0.007 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.004 | first score | v2026.06.15 |
| 2026-11-26 | 0.007 | 0.004 | v2026.06.15 |