CVE-2026-109333

SurrealDB 3.0.0 before 3.3.0 Cross-Tenant Record Read via RETURN FETCH

Published Oct 12, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
Description
SurrealDB from 3.0.0 before 3.3.0 contains an authorization bypass vulnerability that allows authenticated record users to read records in other namespaces or databases by resolving record ids through FETCH. Attackers can switch to a foreign namespace/database and name a known record id in a RETURN … FETCH query to read another tenant's data when table PERMISSIONS allow reads.

Analysis

AI-generated

Technical impact

The vulnerability is an authorization bypass in SurrealDB that permits an authenticated user to read records from other namespaces or databases. By using the FETCH clause in a RETURN … FETCH query, a user can target a known record ID within a foreign namespace/database and retrieve its contents if the table permits read access. This flaw enables an attacker to gain access to confidential data belonging to other tenants, exposing the system to a confidentiality breach. The flaw is rooted in broken access control (CWE-862).

Affected Systems

SurrealDB is affected from version 3.0.0 up to, but not including, version 3.3.0. The issue impacts all installations of SurrealDB whose database schema includes multiple namespaces or databases where user permissions are configured. Any environment using SurrealDB 3.0.0 through 3.2.xx is vulnerable unless mitigated.

Risk and Exploitability

The CVSS score of 7.1 indicates a moderate to high severity. The EPSS score is not available, so the likely exploitation probability is unknown, but the vulnerability requires authentication and permission to read data. Since the flaw is not currently listed in the CISA KEV catalog, there is no known active exploitation, but the issue can be leveraged by any attacker who has legitimate credentials or can compromise a user account. The attack vector is an authenticated request; an attacker must successfully log in as a record user and then execute a specially crafted RETURN … FETCH query to read data from a foreign tenant. Given the impact on confidentiality and the existence of permissions that allow cross‑namespace reads, the risk for environments with permissive table permissions is significant.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade SurrealDB to version 3.3.0 or later where the authorization bypass is fixed.
  • Revoke or tighten read permissions for external namespaces or databases to ensure that users can only access resources they are explicitly authorized to view.
  • Conduct a security review of your SurrealDB deployment to confirm that no unauthorized READ permissions exist across namespaces, and review logs for any suspicious cross‑tenant access patterns.

Generated by OpenCVE AI on October 12, 2026 at 18:37 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 SurrealDB from 3.0.0 before 3.3.0 contains an authorization bypass vulnerability that allows authenticated record users to read records in other namespaces or databases by resolving record ids through FETCH. Attackers can switch to a foreign namespace/database and name a known record id in a RETURN … FETCH query to read another tenant's data when table PERMISSIONS allow reads.
Title SurrealDB 3.0.0 before 3.3.0 Cross-Tenant Record Read via RETURN FETCH
First Time appeared Surrealdb
Surrealdb surrealdb
Weaknesses CWE-862
CPEs cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*
Vendors & Products Surrealdb
Surrealdb surrealdb
References
Metrics cvssV3_1

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

cvssV4_0

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

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 13, 2026, 4:08 PM
Reserved
Oct 12, 2026, 2:18 PM
Status
Deferred
Published
Oct 12, 2026, 5:17 PM
Modified
Oct 13, 2026, 5:17 PM