CVE-2026-126291

NocoDB before 2026.06.2 SQL Injection via User Email in Base User Query

Published Nov 13, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
NocoDB before 2026.06.2 contains an SQL injection vulnerability in base-user.cte.utils.ts, which concatenates base members' email addresses into the SQL text of queries resolving user, created-by or last-modified-by fields. Registered users can set an email with a quoted local part containing a single quote to execute arbitrary SQL, exposing user records, API tokens and data-source credentials.

Analysis

AI-generated

Technical impact

The vulnerability is an SQL injection flaw in NocoDB versions prior to 2026.06.2, where user email addresses are concatenated directly into SQL queries. A registered user can set an email with a quoted local part that includes a single quote, thereby injecting arbitrary SQL. This allows the attacker to read or manipulate user records, API tokens, and data‑source credentials stored in the database, resulting in confidentiality compromise.

Affected Systems

Installations of NocoDB with a release date before 2026.06.2 are affected; the product is NocoDB from the vendor nocodb. No specific sub‑versions are enumerated beyond that cutoff.

Risk and Exploitability

The CVSS score of 8.7 classifies this as high severity, yet the EPSS score indicates a low likelihood of exploitation in production. The vulnerability is not listed in the CISA KEV catalog. Exploitation requires an authenticated user who can modify their own email field; an attacker would craft an email payload such as "' OR 1=1 -- " to inject SQL and retrieve sensitive data.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade NocoDB to version 2026.06.2 or later to apply the vendor patch.
  • If an upgrade cannot be performed immediately, sanitize or validate the email input to reject quoted local parts containing single quotes or modify the code to employ parameterized queries.
  • Monitor database logs for anomalous query patterns and consider reducing the application’s database privileges to read‑only where feasible.

Generated by OpenCVE AI on November 14, 2026 at 14:30 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': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description NocoDB before 2026.06.2 contains an SQL injection vulnerability in base-user.cte.utils.ts, which concatenates base members' email addresses into the SQL text of queries resolving user, created-by or last-modified-by fields. Registered users can set an email with a quoted local part containing a single quote to execute arbitrary SQL, exposing user records, API tokens and data-source credentials.
Title NocoDB before 2026.06.2 SQL Injection via User Email in Base User Query
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': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/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 13, 2026, 8:40 PM
Reserved
Nov 10, 2026, 8:15 PM
Status
Deferred
Published
Nov 13, 2026, 10:17 AM
Modified
Nov 16, 2026, 8:30 PM