← Back to search

CVE-2026-109343

8.1 HIGHpublic exploit available

Published 2026-10-12 · Updated 2026-10-13

AI risk analysis

Summary
SurrealDB before 3.3.0 permits authenticated users to escalate privileges by using the USE statement to switch sessions across namespace/database boundaries without verifying that their current authentication level covers the target tenant, enabling unauthorized read/write access to data in other tenants where permissions allow it.
Exploitability
Exploitation requires only valid credentials at namespace, database, or record level and knowledge of target tenant identifiers; no special tools or network access beyond normal database connectivity.
Blast radius
An attacker with low-privilege access can read, create, update, or delete data in other tenants that share the same underlying table permissions structure, potentially compromising confidentiality and integrity across multiple logical tenants within a single deployment.
Detection
Monitor for USE statements in SurrealQL logs that attempt to switch to a namespace/database outside the caller's authenticated scope; look for mismatched authentication context and target tenant identifiers in session activity logs.
Prioritized remediation
Upgrade to SurrealDB 3.3.0 or later, which enforces tenant-level permission checks during USE statement execution.
auth-bypassprivilege-escalationcross-tenant-accesssurrealdbdatabase-vuln

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

SurrealDB before 3.3.0 allows cross-tenant access because the SurrealQL USE statement switches a session to any namespace/database without checking that the caller's authenticated level covers it. Authenticated namespace, database, or record users can switch to another tenant and read, create, update, or delete rows in tables whose PERMISSIONS allow it, such as PERMISSIONS FULL.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Weaknesses

CWE-639

Public exploit & PoC references

References

Data: NVD (public domain). Analysis: local $0 model. Defensive use only.