---
id: "CVE-2026-126291"
page: "https://infrastack.ai/live/CVE-2026-126291"
kind: "vulnerability"
aliases: ["CVE-2026-126291"]
title: "NocoDB: SQL injection via member email lets registered users read secrets"
severity: "high"
cvss: 8.8
epss: null
exploited: false
status: "open"
category: "other"
products: []
ecosystems: []
tags: ["mysql", "nocodb", "other", "postgres", "self-hosted"]
not_affected_if: ["managed-hosting", "no-self-registration"]
published_at: "2026-11-13T10:17:33+00:00"
first_seen_at: "2026-11-13T10:47:14+00:00"
updated_at: "2026-11-13T10:49:02+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126291", "first_seen_at": "2026-11-13T10:47:14+00:00"}]
exploit_sources: []
---

# NocoDB: SQL injection via member email lets registered users read secrets

Link for people: https://infrastack.ai/live/CVE-2026-126291 (this .md is for agents)

NocoDB builds SQL queries by concatenating base members' email addresses into the query text, so an email with a quoted local part containing a single quote breaks out of the string. A registered user who sets such an email can run arbitrary SQL and read user records, API tokens and data-source credentials.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the NocoDB version in use; affected releases are those before `2026.06.2`.
- Confirm whether any users can register or change their own email on the instance.

## Fix

- NocoDB: move to `2026.06.2` or later.

## Timeline

- 2026-11-13T10:47:14+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-126291

## Documents

- [advisory] Vendor advisory: github.com https://github.com/nocodb/nocodb/security/advisories/GHSA-8qgc-rxmx-p7cw
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/nocodb-before-2026.06.2-sql-injection-via-user-email-in-base-user-query

## From the sources

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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
