
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-28399 is a SQL injection vulnerability in NocoDB, an open-source platform for building databases as spreadsheets. An authenticated user with the Creator role can inject arbitrary SQL commands via the third argument (unit parameter) of the DATEADD formula. All NocoDB versions up to and including 0.301.2 are affected across MySQL, PostgreSQL, and SQLite backends. The vulnerability was published on March 2, 2026, and patched in version 0.301.3. It carries a CVSS v3.1 base score of 8.8 (High) and a CVSS v4.0 base score of 6.2 (Medium) (GitHub Advisory, NocoDB Advisory).
The root cause (CWE-89) is improper neutralization of SQL special elements: the unit argument of the DATEADD formula was interpolated directly into knex.raw() queries after only stripping quote characters, without proper parameterization. The validation logic in formulas.ts only checked for Literal AST node types, meaning non-Literal node types entirely bypassed validation, allowing an attacker to supply a crafted expression that is evaluated as raw SQL. The attack is network-accessible, requires only low privileges (Creator role credentials), and no user interaction, making it straightforward to exploit once authenticated (NocoDB Advisory, GitHub Advisory).
Successful exploitation allows an authenticated attacker to read sensitive data from the connected database (confidentiality impact), modify or delete database records (integrity impact), and potentially disrupt database availability depending on the backend. The impact is scoped to the connected database — subsequent system components are not directly affected per the CVSS v4.0 assessment. In environments where NocoDB connects to shared or sensitive databases, this could result in significant data exfiltration or corruption (NocoDB Advisory, GitHub Advisory).
No public proof-of-concept exploit code has been identified, and there is no evidence of active in-the-wild exploitation at this time. The EPSS score is approximately 0.073% (22nd percentile), indicating a low near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires valid Creator role credentials, which limits the attack surface compared to unauthenticated vulnerabilities (GitHub Advisory).
DATEADD function.DATEADD, e.g., DATEADD(date_field, 1, <injected_sql>), where <injected_sql> contains SQL syntax that bypasses the quote-stripping validation (e.g., using subqueries or UNION statements).knex.raw() query executed against the backend database (MySQL, PostgreSQL, or SQLite).knex.raw() query patterns.DATEADD with non-standard or complex unit parameter values in NocoDB table configurations; audit logs showing Creator role users creating or modifying formula columns with unusual expressions.The primary remediation is to upgrade NocoDB to version 0.301.3 or later, which contains the fix for this vulnerability (NocoDB Release). As a defense-in-depth measure, apply the principle of least privilege by restricting Creator role assignments to only trusted and necessary users. Monitor database access logs for anomalous SQL activity. No configuration-based workaround is available that fully mitigates the vulnerability without upgrading.
The vulnerability was responsibly disclosed by researcher @q1uf3ng and acknowledged in the NocoDB 0.301.3 release notes, which also credited multiple other security researchers for separate findings in the same release (NocoDB Release). Brief social media coverage was noted on Bluesky and Mastodon via TheHackerWire shortly after disclosure. No significant broader media coverage or notable researcher commentary beyond the official advisory has been identified.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."