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.
Published: 2026-10-12
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Cross‑tenant data read (authorization bypass)
Action: Patch immediately
AI Analysis

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.

Generated by OpenCVE AI on October 12, 2026 at 18:37 UTC.

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 yet.

History

Tue, 13 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 12 Oct 2026 16:30:00 +0000

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'}


Subscriptions

Surrealdb Surrealdb
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-13T16:08:52.215Z

Reserved: 2026-10-12T14:18:12.389Z

Link: CVE-2026-109333

cve-icon Vulnrichment

Updated: 2026-10-13T16:08:27.319Z

cve-icon NVD

Status : Deferred

Published: 2026-10-12T17:17:29.190

Modified: 2026-10-13T17:17:25.983

Link: CVE-2026-109333

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-12T22:30:07Z

Weaknesses