Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-45rp-9p97-h852

Опубликовано: 03 мар. 2026
Источник: github
Github: Прошло ревью
CVSS4: 6.2

Описание

NocoDB Vulnerable to SQL Injection via DATEADD Formula

Summary

An authenticated user with Creator role can inject arbitrary SQL via the DATEADD formula's unit parameter.

Details

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.

Impact

SQL injection allowing data exfiltration or modification, scoped to the connected database.

Credit

This issue was reported by @q1uf3ng.

Пакеты

Наименование

nocodb

npm
Затронутые версииВерсия исправления

<= 0.301.2

0.301.3

EPSS

Процентиль: 24%
0.00319
Низкий

6.2 Medium

CVSS4

Дефекты

CWE-89

Связанные уязвимости

CVSS3: 8.8
nvd
6 месяцев назад

NocoDB is software for building databases as spreadsheets. Prior to version 0.301.3, an authenticated user with Creator role can inject arbitrary SQL via the DATEADD formula's unit parameter. This issue has been patched in version 0.301.3.

EPSS

Процентиль: 24%
0.00319
Низкий

6.2 Medium

CVSS4

Дефекты

CWE-89