CVE-2026-126285

NocoDB before 2026.08.0 SQL Injection via Legacy where Query Filter

Published Nov 13, 2026 CVSS 4.0 · 8.3 High EPSS < 1% KEV · Not listed
Description
NocoDB before 2026.08.0 contains an sql injection vulnerability that allows authenticated users with read access to run arbitrary read queries via the legacy where parameter on PostgreSQL. Attackers, including Viewer-role users, can inject single quotes into filter values concatenated by CustomKnex.ts to read other tables, schemas, view-filtered rows, and hidden columns.

Analysis

AI-generated

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.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade NocoDB to version 2026.08.0 or later
  • Restrict read‑only roles to trusted personnel or remove legacy where filter usage if possible
  • Review and harden database access controls to ensure least‑privilege for all application users

Generated by OpenCVE AI on November 14, 2026 at 14:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description NocoDB before 2026.08.0 contains an sql injection vulnerability that allows authenticated users with read access to run arbitrary read queries via the legacy where parameter on PostgreSQL. Attackers, including Viewer-role users, can inject single quotes into filter values concatenated by CustomKnex.ts to read other tables, schemas, view-filtered rows, and hidden columns.
Title NocoDB before 2026.08.0 SQL Injection via Legacy where Query Filter
First Time appeared Nocodb
Nocodb nocodb
Weaknesses CWE-89
CPEs cpe:2.3:a:nocodb:nocodb:*:*:*:*:*:*:*:*
Vendors & Products Nocodb
Nocodb nocodb
References
Metrics cvssV3_1

{'score': 7.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N'}

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 17, 2026, 7:19 PM
Reserved
Nov 10, 2026, 8:15 PM
Status
Deferred
Published
Nov 13, 2026, 10:17 AM
Modified
Nov 17, 2026, 8:17 PM