NocoDB: SQL Injection via Legacy Where Parameter (CVE-2026-126285)
NocoDB versions prior to 2026.08.0 contain an SQL injection vulnerability in the legacy where parameter on PostgreSQL, allowing authenticated users with read-only access to execute arbitrary read queries.
CVE search metadata
CVE search record: CVE-2026-126285. Severity: high. CVSS: 7.7. KEV: no. Product: NocoDB. Brief: NocoDB: SQL Injection via Legacy Where Parameter (CVE-2026-126285). Brief link: https://feed.craftedsignal.io/briefs/2026-11-nocodb-sql-injection-cve-2026-126285/
Triage facts
Revision 1- Applicability
- NocoDB
- Evidence
- Unknown
- Severity
- High
- Action
- Elevated
- Sources
- 1 public source
- Freshness
- Revision 1Nov 13, 12:17 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- A1Very likely
NocoDB versions before 2026.08.0 are vulnerable to SQL injection when configured with a PostgreSQL backend. The vulnerability exists within the legacy 'where' parameter. Authenticated users with Viewer-level access can inject single quotes into filter values processed by CustomKnex.ts. This allows attackers to bypass intended data access controls, potentially reading unauthorized tables, schemas, view-filtered rows, and hidden columns.
Impact
Authenticated attackers with minimal (Viewer) access can escalate their data access privileges to read arbitrary information from the connected PostgreSQL database, leading to potential data exfiltration and information disclosure.
Recommendation
Immediately update NocoDB to version 2026.08.0 or later. Organizations unable to patch immediately should investigate restricting access to the legacy where parameter if supported by current NocoDB configurations.
Immediate actions
Patch NocoDB to 2026.08.0 or later.
Threat Hunt
Audit application access logs for unusual queries or characters (e.g., single quotes) within the 'where' parameter of requests directed to the NocoDB backend.
Data: Web application logs, Database query logs
Mitigations
Upgrade NocoDB to version 2026.08.0.
CVE-2026-126285