Technical impact
NocoDB prior to 2026.08.0 contains a flaw that permits SQL injection through the legacy where parameter. An attacker who is authenticated and has read‑only role privileges can inject single quotes into filter values that are concatenated by CustomKnex.ts, enabling the execution of arbitrary SELECT statements against the PostgreSQL backend. This can expose data from any table, schema, filtered rows, or hidden columns without permission. The vulnerability arises from unvalidated input concatenation within the query builder and constitutes a classic SQL injection (CWE‑89). It affects confidentiality by allowing exposed data to be retrieved, but it does not grant write or privilege escalation capabilities.
Affected Systems
NocoDB by nocodb is the affected product. All releases before 2026.08.0 that run on PostgreSQL are vulnerable. The defect exists in the CustomKnex.ts module handling legacy where filters. Users of these older NocoDB instances are at risk.
Risk and Exploitability
The CVSS score of 8.3 indicates high severity, though the EPSS score of <1% signals very low current exploitation probability, and the vulnerability is not listed in CISA KEV. Because an attack requires only authenticated read access, even users with minimal privileges can exploit it, making the risk significant for environments where many users are granted read permissions. An enterprise deploying older NocoDB versions should consider the vulnerability a critical data exposure threat until patched.